DiagramElementHasDecorators.Decorator Property
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.DiagramElementHasDecorators/Decorator.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")> _
<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, Multiplicity := Multiplicity.One)> _
Public MustOverride Property Decorator As Decorator
'Usage
Dim instance As DiagramElementHasDecorators
Dim value As Decorator
value = instance.Decorator
instance.Decorator = value
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("572b68f8-b3e5-4452-b7c2-d8199095b9be")]
[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, Multiplicity = Multiplicity.One)]
public abstract Decorator Decorator { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"DiagramElement",
PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/Decorator.PropertyDisplayName",
PropagatesDelete = true, Multiplicity = Multiplicity::One)]
public:
virtual property Decorator^ Decorator {
Decorator^ get () abstract;
void set (Decorator^ value) abstract;
}
public abstract function get Decorator () : Decorator
public 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.
See Also
Reference
DiagramElementHasDecorators Class