Compartilhar 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
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: System.Type
    The type of the element name provider class.

.NET Framework Security

See Also

Reference

ElementNameAttribute Class

ElementNameAttribute Overload

Microsoft.VisualStudio.Modeling Namespace