TypeDescriptionProviderAttribute 建構函式

定義

初始化 TypeDescriptionProviderAttribute 類別的新執行個體。

多載

TypeDescriptionProviderAttribute(String)

使用指定的型別名稱,初始化 TypeDescriptionProviderAttribute 類別的新執行個體。

TypeDescriptionProviderAttribute(Type)

使用指定的型別,初始化 TypeDescriptionProviderAttribute 類別的新執行個體。

TypeDescriptionProviderAttribute(String)

來源:
TypeDescriptionProviderAttribute.cs
來源:
TypeDescriptionProviderAttribute.cs
來源:
TypeDescriptionProviderAttribute.cs

使用指定的型別名稱,初始化 TypeDescriptionProviderAttribute 類別的新執行個體。

public:
 TypeDescriptionProviderAttribute(System::String ^ typeName);
public TypeDescriptionProviderAttribute (string typeName);
new System.ComponentModel.TypeDescriptionProviderAttribute : string -> System.ComponentModel.TypeDescriptionProviderAttribute
Public Sub New (typeName As String)

參數

typeName
String

型別的限定名稱。

例外狀況

typeNamenull

備註

TypeDescriptionProviderAttribute 構函式會將指定的 TypeDescriptionProvider 與標記類別產生關聯。

另請參閱

適用於

TypeDescriptionProviderAttribute(Type)

來源:
TypeDescriptionProviderAttribute.cs
來源:
TypeDescriptionProviderAttribute.cs
來源:
TypeDescriptionProviderAttribute.cs

使用指定的型別,初始化 TypeDescriptionProviderAttribute 類別的新執行個體。

public:
 TypeDescriptionProviderAttribute(Type ^ type);
public TypeDescriptionProviderAttribute (Type type);
new System.ComponentModel.TypeDescriptionProviderAttribute : Type -> System.ComponentModel.TypeDescriptionProviderAttribute
Public Sub New (type As Type)

參數

type
Type

要儲存在屬性中的型別。

例外狀況

typenull

備註

TypeDescriptionProviderAttribute 構函式會將指定的 TypeDescriptionProvider 與標記類別產生關聯。

另請參閱

適用於