NewItemTypesAttribute.FactoryType Property
Gets or sets the factory type associated with this attribute.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property FactoryType As Type
Get
Set
public Type FactoryType { get; set; }
public:
property Type^ FactoryType {
Type^ get ();
void set (Type^ value);
}
member FactoryType : Type with get, set
function get FactoryType () : Type
function set FactoryType (value : Type)
Property Value
Type: System.Type
A Type object that represents the type associated with this attribute.
Exceptions
Exception | Condition |
---|---|
ArgumentException | type does not derive from NewItemFactory. |
ArgumentNullException | type is nulla null reference (Nothing in Visual Basic). |
Remarks
The Type object is guaranteed to derive from NewItemFactory.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace