Partager via


AttributedDomainElementHasAttributes.Attribute, propriété

DomainRole Attribute

Espace de noms :  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (dans Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntaxe

'Déclaration
<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; }

Valeur de propriété

Type : Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute

Sécurité .NET Framework

Voir aussi

Référence

AttributedDomainElementHasAttributes Classe

Microsoft.VisualStudio.Modeling.DslDefinition, espace de noms