次の方法で共有


CategoryResourceAttribute Constructors

Definition

Overloads

CategoryResourceAttribute(String, Type)

Initializes a new instance of the CategoryAttribute class with the specified category name.

CategoryResourceAttribute(String, Type, String)

Initializes a new instance of the CategoryAttribute class with the specified category name.

CategoryResourceAttribute(String, Type)

Initializes a new instance of the CategoryAttribute class with the specified category name.

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)

Parameters

displayNameKey
String

The name of the category

type
Type

Type

Applies to

CategoryResourceAttribute(String, Type, String)

Initializes a new instance of the CategoryAttribute class with the specified category name.

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)

Parameters

displayNameKey
String

The name of the category

type
Type

Type for this category

resourceName
String

Resource name

Applies to