NewItemTypesAttribute.FactoryType Property
Gets or sets the factory type associated with this attribute.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public Property FactoryType As Type
'Usage
Dim instance As NewItemTypesAttribute
Dim value As Type
value = instance.FactoryType
instance.FactoryType = value
public Type FactoryType { get; set; }
public:
property Type^ FactoryType {
Type^ get ();
void set (Type^ value);
}
public function get FactoryType () : Type
public 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