DesignerCategoryAttribute 建構函式

定義

初始化 DesignerCategoryAttribute 類別的新執行個體。Initializes a new instance of the DesignerCategoryAttribute class.

多載

DesignerCategoryAttribute()

使用空字串 ("") 來初始化 DesignerCategoryAttribute 類別的新執行個體。Initializes a new instance of the DesignerCategoryAttribute class with an empty string ("").

DesignerCategoryAttribute(String)

使用指定的分類名稱來初始化 DesignerCategoryAttribute 類別的新執行個體。Initializes a new instance of the DesignerCategoryAttribute class with the given category name.

DesignerCategoryAttribute()

使用空字串 ("") 來初始化 DesignerCategoryAttribute 類別的新執行個體。Initializes a new instance of the DesignerCategoryAttribute class with an empty string ("").

public:
 DesignerCategoryAttribute();
public DesignerCategoryAttribute ();
Public Sub New ()

DesignerCategoryAttribute(String)

使用指定的分類名稱來初始化 DesignerCategoryAttribute 類別的新執行個體。Initializes a new instance of the DesignerCategoryAttribute class with the given category name.

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

參數

category
String

分類的名稱。The name of the category.

適用於