AttributeProviderAttribute Constructor (Type^)

 

Initializes a new instance of the AttributeProviderAttribute class with the given type.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
AttributeProviderAttribute(
	Type^ type
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: