DomainPropertyHasElementNameProvider.SetElementNameProvider Method
Sets ElementNameProvider.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetElementNameProvider ( _
element As DomainProperty, _
newNameProviderType As ExternalType _
)
public static void SetElementNameProvider(
DomainProperty element,
ExternalType newNameProviderType
)
public:
static void SetElementNameProvider(
DomainProperty^ element,
ExternalType^ newNameProviderType
)
static member SetElementNameProvider :
element:DomainProperty *
newNameProviderType:ExternalType -> unit
public static function SetElementNameProvider(
element : DomainProperty,
newNameProviderType : ExternalType
)
Parameters
- newNameProviderType
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ExternalType
.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.