DiagramElementHasDecorators.Decorator Property
DomainRole Decorator Diagram element to which the decorator belongs.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName", _
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)> _
<DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")> _
Public MustOverride Property Decorator As Decorator
Get
Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName",
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)]
[DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")]
public abstract Decorator Decorator { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName",
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)]
[DomainObjectIdAttribute(L"572b68f8-b3e5-4452-b7c2-d8199095b9be")]
public:
virtual property Decorator^ Decorator {
Decorator^ get () abstract;
void set (Decorator^ value) abstract;
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.DisplayName",
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)>]
[<DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")>]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.