共用方式為


AttributedDomainElementHasAttributes.Element 屬性

DomainRole 項目

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Attributes",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("781040fe-bef5-43e6-9fb0-20f8ae33552a")> _
Public Property Element As AttributedDomainElement
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Attributes", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("781040fe-bef5-43e6-9fb0-20f8ae33552a")]
public AttributedDomainElement Element { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement

.NET Framework 安全性

請參閱

參考

AttributedDomainElementHasAttributes 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間