Compartilhar via


Propriedade EnumerationHasAttributes.Attribute

Enumeração de atributo DomainRole definindo o atributo.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Enumeration",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
Public Property Attribute As ClrAttribute
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Enumeration", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
public ClrAttribute Attribute { get; set; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute

Segurança do .NET Framework

Consulte também

Referência

EnumerationHasAttributes Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition