Freigeben über


DiagramElementHasDecorators.DiagramElement Property

DomainRole DiagramElement Decorators for the diagram element.

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

Syntax

'Declaration
<DomainObjectIdAttribute("6a8cfd57-d791-45af-8712-f6faebb1cdf0")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Decorators",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
Public MustOverride Property DiagramElement As DiagramElement
    Get
    Set
[DomainObjectIdAttribute("6a8cfd57-d791-45af-8712-f6faebb1cdf0")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Decorators", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
public abstract DiagramElement DiagramElement { get; set; }
[DomainObjectIdAttribute(L"6a8cfd57-d791-45af-8712-f6faebb1cdf0")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Decorators", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
public:
virtual property DiagramElement^ DiagramElement {
    DiagramElement^ get () abstract;
    void set (DiagramElement^ value) abstract;
}
[<DomainObjectIdAttribute("6a8cfd57-d791-45af-8712-f6faebb1cdf0")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Decorators", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
abstract DiagramElement : DiagramElement with get, set
abstract function get DiagramElement () : DiagramElement
abstract function set DiagramElement (value : DiagramElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace