TypeDescriptionProviderAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TypeDescriptionProviderAttribute class.
Overloads
TypeDescriptionProviderAttribute(String) |
Initializes a new instance of the TypeDescriptionProviderAttribute class using the specified type name. |
TypeDescriptionProviderAttribute(Type) |
Initializes a new instance of the TypeDescriptionProviderAttribute class using the specified type. |
TypeDescriptionProviderAttribute(String)
Initializes a new instance of the TypeDescriptionProviderAttribute class using the specified type name.
public:
TypeDescriptionProviderAttribute(System::String ^ typeName);
public TypeDescriptionProviderAttribute (string typeName);
new System.ComponentModel.TypeDescriptionProviderAttribute : string -> System.ComponentModel.TypeDescriptionProviderAttribute
Public Sub New (typeName As String)
Parameters
- typeName
- String
The qualified name of the type.
Exceptions
typeName
is null
.
Remarks
The TypeDescriptionProviderAttribute constructor associates the specified TypeDescriptionProvider with the tagged class.
See also
Applies to
TypeDescriptionProviderAttribute(Type)
Initializes a new instance of the TypeDescriptionProviderAttribute class using the specified type.
public:
TypeDescriptionProviderAttribute(Type ^ type);
public TypeDescriptionProviderAttribute (Type type);
new System.ComponentModel.TypeDescriptionProviderAttribute : Type -> System.ComponentModel.TypeDescriptionProviderAttribute
Public Sub New (type As Type)
Parameters
- type
- Type
The type to store in the attribute.
Exceptions
type
is null
.
Remarks
The TypeDescriptionProviderAttribute constructor associates the specified TypeDescriptionProvider with the tagged class.