Partager via


AttributedDomainElementHasAttributes.Element Property

DomainRole Element

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

Syntax

'Déclaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("781040fe-bef5-43e6-9fb0-20f8ae33552a")> _
<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)> _
Public Property Element As AttributedDomainElement
    Get
    Set
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("781040fe-bef5-43e6-9fb0-20f8ae33552a")]
[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)]
public AttributedDomainElement Element { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"781040fe-bef5-43e6-9fb0-20f8ae33552a")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Attributes", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
public:
property AttributedDomainElement^ Element {
    AttributedDomainElement^ get ();
    void set (AttributedDomainElement^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Element.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("781040fe-bef5-43e6-9fb0-20f8ae33552a")>]
[<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)>]
member Element : AttributedDomainElement with get, set
function get Element () : AttributedDomainElement
function set Element (value : AttributedDomainElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement

.NET Framework Security

See Also

Reference

AttributedDomainElementHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace