Udostępnij za pośrednictwem


Właściwość AttributedDomainElementHasAttributes.Attribute —

Atrybut DomainRole

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.DslDefinition
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Składnia

'Deklaracja
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Element", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")> _
Public Property Attribute As ClrAttribute
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Element", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")]
public ClrAttribute Attribute { get; set; }

Wartość właściwości

Typ: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

AttributedDomainElementHasAttributes Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.DslDefinition