Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft