CategoryResourceAttribute 构造函数

定义

重载

CategoryResourceAttribute(String, Type)

使用指定的类别名称初始化 CategoryAttribute 类的新实例。

CategoryResourceAttribute(String, Type, String)

使用指定的类别名称初始化 CategoryAttribute 类的新实例。

CategoryResourceAttribute(String, Type)

使用指定的类别名称初始化 CategoryAttribute 类的新实例。

public:
 CategoryResourceAttribute(System::String ^ displayNameKey, Type ^ type);
public CategoryResourceAttribute (string displayNameKey, Type type);
new Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute : string * Type -> Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute
Public Sub New (displayNameKey As String, type As Type)

参数

displayNameKey
String

类别名称

type
Type

类型

适用于

CategoryResourceAttribute(String, Type, String)

使用指定的类别名称初始化 CategoryAttribute 类的新实例。

public:
 CategoryResourceAttribute(System::String ^ displayNameKey, Type ^ type, System::String ^ resourceName);
public CategoryResourceAttribute (string displayNameKey, Type type, string resourceName);
new Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute : string * Type * string -> Microsoft.VisualStudio.Modeling.Design.CategoryResourceAttribute
Public Sub New (displayNameKey As String, type As Type, resourceName As String)

参数

displayNameKey
String

类别名称

type
Type

此类别的类型

resourceName
String

资源名称

适用于