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
'Dichiarazione
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.