Share via


ElementNameAttribute Constructor (Type)

Initializes a new instance of the ElementNameAttribute class by specifying the type of class that provides the element name.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    elementNameProvider As Type _
)
public ElementNameAttribute(
    Type elementNameProvider
)
public:
ElementNameAttribute(
    Type^ elementNameProvider
)
new : 
        elementNameProvider:Type -> ElementNameAttribute
public function ElementNameAttribute(
    elementNameProvider : Type
)

Parameters

  • elementNameProvider
    Type: Type

    The type of the element name provider class.

.NET Framework Security

See Also

Reference

ElementNameAttribute Class

ElementNameAttribute Overload

Microsoft.VisualStudio.Modeling Namespace