DesignerCategoryAttribute 构造函数

定义

初始化 DesignerCategoryAttribute 类的新实例。

重载

名称 说明
DesignerCategoryAttribute()

使用空字符串(“”)初始化类的新实例 DesignerCategoryAttribute

DesignerCategoryAttribute(String)

使用给定的 DesignerCategoryAttribute 类别名称初始化类的新实例。

DesignerCategoryAttribute()

Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs

使用空字符串(“”)初始化类的新实例 DesignerCategoryAttribute

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

适用于

DesignerCategoryAttribute(String)

Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs
Source:
DesignerCategoryAttribute.cs

使用给定的 DesignerCategoryAttribute 类别名称初始化类的新实例。

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

类别的名称。

适用于