共用方式為


EnumerationHasLiterals.SetEnumeration Method

Definition

Sets Enumeration.

public:
 static void SetEnumeration(Microsoft::VisualStudio::Modeling::DslDefinition::EnumerationLiteral ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainEnumeration ^ newEnumeration);
[System.Diagnostics.DebuggerStepThrough]
public static void SetEnumeration (Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration newEnumeration);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetEnumeration : Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral * Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration -> unit
Public Shared Sub SetEnumeration (element As EnumerationLiteral, newEnumeration As DomainEnumeration)

Parameters

newEnumeration
DomainEnumeration
Attributes

Applies to