AttributeProviderAttribute Constructor (Type^)
.NET Framework (current version)
Initializes a new instance of the AttributeProviderAttribute class with the given type.
Assembly: System (in System.dll)
Parameters
- type
-
Type:
System::Type^
The type to specify.
| Exception | Condition |
|---|---|
| ArgumentNullException | type is null. |
The following code example demonstrates using AttributeProviderAttribute to mark a DataSource property with a specific type of IListSource. For a full code listing, see How to: Apply Attributes in Windows Forms Controls.
.NET Framework
Available since 2.0
Available since 2.0
Show: