Partilhar via


EnumerationHasAttributes.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 ClrAttribute, _
    newEnumeration As DomainEnumeration _
)
public static void SetEnumeration(
    ClrAttribute element,
    DomainEnumeration newEnumeration
)
public:
static void SetEnumeration(
    ClrAttribute^ element, 
    DomainEnumeration^ newEnumeration
)
static member SetEnumeration : 
        element:ClrAttribute * 
        newEnumeration:DomainEnumeration -> unit 
public static function SetEnumeration(
    element : ClrAttribute, 
    newEnumeration : DomainEnumeration
)

Parameters

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace