Partilhar via


EnumerationHasLiterals.SetEnumeration Method

Sets Enumeration.

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

Syntax

'Declaração
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

.NET Framework Security

See Also

Reference

EnumerationHasLiterals Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace