Condividi tramite


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

'Dichiarazione
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