ShapeHasDecorators.Decorator Property
This member overrides DiagramElementHasDecorators.Decorator.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.dll)
Syntax
'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Shape", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName", _
PropagatesDelete := True, Multiplicity := Multiplicity.ZeroOne)> _
Public Overrides NotOverridable Property Decorator As Decorator
'Usage
Dim instance As ShapeHasDecorators
Dim value As Decorator
value = instance.Decorator
instance.Decorator = value
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("e7d180f8-7973-447c-8cef-b4174a1f8df3")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Shape", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.PropertyDisplayName",
PropagatesDelete = true, Multiplicity = Multiplicity.ZeroOne)]
public override sealed Decorator Decorator { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"e7d180f8-7973-447c-8cef-b4174a1f8df3")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/Decorator.DisplayName",
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, Multiplicity = Multiplicity::ZeroOne)]
public:
virtual property Decorator^ Decorator {
Decorator^ get () override sealed;
void set (Decorator^ value) override sealed;
}
public override final function get Decorator () : Decorator
public override final 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.