TypeDescriptionProviderAttribute 构造函数   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 TypeDescriptionProviderAttribute 类的新实例。
重载
| TypeDescriptionProviderAttribute(String) | 使用指定的类型名称初始化 TypeDescriptionProviderAttribute 类的新实例。 | 
| TypeDescriptionProviderAttribute(Type) | 使用指定的类型初始化 TypeDescriptionProviderAttribute 类的新实例。 | 
TypeDescriptionProviderAttribute(String)
使用指定的类型名称初始化 TypeDescriptionProviderAttribute 类的新实例。
public:
 TypeDescriptionProviderAttribute(System::String ^ typeName);public TypeDescriptionProviderAttribute (string typeName);new System.ComponentModel.TypeDescriptionProviderAttribute : string -> System.ComponentModel.TypeDescriptionProviderAttributePublic Sub New (typeName As String)参数
- typeName
- String
类型的限定名。
例外
              typeName 为 null。
注解
构造 TypeDescriptionProviderAttribute 函数将指定的 TypeDescriptionProvider 与标记的类相关联。
另请参阅
适用于
TypeDescriptionProviderAttribute(Type)
使用指定的类型初始化 TypeDescriptionProviderAttribute 类的新实例。
public:
 TypeDescriptionProviderAttribute(Type ^ type);public TypeDescriptionProviderAttribute (Type type);new System.ComponentModel.TypeDescriptionProviderAttribute : Type -> System.ComponentModel.TypeDescriptionProviderAttributePublic Sub New (type As Type)参数
- type
- Type
要存储在特性中的类型。
例外
              type 为 null。
注解
构造 TypeDescriptionProviderAttribute 函数将指定的 TypeDescriptionProvider 与标记的类相关联。