Freigeben über


EnumerationHasAttributes.SetEnumeration Method

Definition

Sets Enumeration.

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

Parameters

element
ClrAttribute
newEnumeration
DomainEnumeration
Attributes

Applies to