EnumerationHasLiterals.SetEnumeration Method
Sets Enumeration.
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 SetEnumeration ( _
element As EnumerationLiteral, _
newEnumeration As DomainEnumeration _
)
public static void SetEnumeration(
EnumerationLiteral element,
DomainEnumeration newEnumeration
)
public:
static void SetEnumeration(
EnumerationLiteral^ element,
DomainEnumeration^ newEnumeration
)
static member SetEnumeration :
element:EnumerationLiteral *
newEnumeration:DomainEnumeration -> unit
public static function SetEnumeration(
element : EnumerationLiteral,
newEnumeration : DomainEnumeration
)
Parameters
- newEnumeration
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration
.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.