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
'Déclaration
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
- newEnumeration
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.