DiagramElementHasDecorators.Decorator 屬性
DomainRole 裝飾圖表項目所隸屬的裝飾項目。
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
語法
'宣告
<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; }
屬性值
型別:Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。