Share via


DisplayNameResourceAttribute Constructors

Definition

Overloads

DisplayNameResourceAttribute(String, Type)

Initializes a new instance of the DisplayNameResourceAttribute class with the specified display name name.

DisplayNameResourceAttribute(String, Type, String)

Initializes a new instance of the DisplayNameResourceAttribute class with the specified display name.

DisplayNameResourceAttribute(String, Type)

Initializes a new instance of the DisplayNameResourceAttribute class with the specified display name name.

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

Parameters

displayNameKey
String

The name of the category

type
Type

Type

Applies to

DisplayNameResourceAttribute(String, Type, String)

Initializes a new instance of the DisplayNameResourceAttribute class with the specified display name.

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

Parameters

displayNameKey
String

The name of the display name

type
Type

Type for this display name

resourceName
String

Resource name

Applies to