Delen via


EnumerationHasAttributes.Enumeration Property

DomainRole Enumeration Clr attributes defined for the enumeration.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Attributes",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("fc411dc7-afb6-48d9-83ff-cd30fac168ef")> _
Public Property Enumeration As DomainEnumeration
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Attributes", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("fc411dc7-afb6-48d9-83ff-cd30fac168ef")]
public DomainEnumeration Enumeration { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Attributes", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"fc411dc7-afb6-48d9-83ff-cd30fac168ef")]
public:
property DomainEnumeration^ Enumeration {
    DomainEnumeration^ get ();
    void set (DomainEnumeration^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Attributes", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Enumeration.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
[<DomainObjectIdAttribute("fc411dc7-afb6-48d9-83ff-cd30fac168ef")>]
member Enumeration : DomainEnumeration with get, set
function get Enumeration () : DomainEnumeration 
function set Enumeration (value : DomainEnumeration)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace