Condividi tramite


ShapeHasDecorators.Decorator Property

DomainRole Decorator Shape defining the decorator.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Shape", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")> _
Public Overrides NotOverridable Property Decorator As Decorator
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Shape", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")]
public override sealed Decorator Decorator { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Shape", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::ZeroOne)]
[DomainObjectIdAttribute(L"e7d180f8-7973-447c-8cef-b4174a1f8df3")]
public:
virtual property Decorator^ Decorator {
    Decorator^ get () override sealed;
    void set (Decorator^ value) override sealed;
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Shape", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")>]
abstract Decorator : Decorator with get, set
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Shape", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")>]
override Decorator : Decorator with get, set
override final function get Decorator () : Decorator 
override final function set Decorator (value : Decorator)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator

.NET Framework Security

See Also

Reference

ShapeHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace