ElementNameAttribute Constructors

Definition

Overloads

ElementNameAttribute()

Initializes an new instance of the ElementNameAttribute class.

ElementNameAttribute(Type)

Creates an instance of the ElementNameAttribute class.

ElementNameAttribute()

Initializes an new instance of the ElementNameAttribute class.

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

Applies to

ElementNameAttribute(Type)

Creates an instance of the ElementNameAttribute class.

public:
 ElementNameAttribute(Type ^ elementNameProvider);
public ElementNameAttribute (Type elementNameProvider);
new Microsoft.VisualStudio.Modeling.ElementNameAttribute : Type -> Microsoft.VisualStudio.Modeling.ElementNameAttribute
Public Sub New (elementNameProvider As Type)

Parameters

elementNameProvider
Type

Type of element name provider class.

Exceptions

elementNameProvider doesn't derive from ElementNameProvider class.

elementNameProvider is null.

Applies to