DiagramElementHasDecorators.Decorator Property

DomainRole Decorator Diagram element to which the decorator belongs.

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

Syntax

'Declaration
<DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "DiagramElement",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
Public MustOverride Property Decorator As Decorator
[DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DiagramElement", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
public abstract Decorator Decorator { get; set; }
[DomainObjectIdAttribute(L"572b68f8-b3e5-4452-b7c2-d8199095b9be")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"DiagramElement", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
public:
virtual property Decorator^ Decorator {
    Decorator^ get () abstract;
    void set (Decorator^ value) abstract;
}
[<DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DiagramElement", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)>]
abstract Decorator : Decorator with get, set
abstract function get Decorator () : Decorator 
abstract function set Decorator (value : Decorator)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace