ShapeElement.Decorators 属性
获取用于形状的装饰器的集合。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
语法
声明
Public Overridable ReadOnly Property Decorators As IList(Of Decorator)
public virtual IList<Decorator> Decorators { get; }
属性值
类型:System.Collections.Generic.IList<Decorator>
如果形状不具有修饰器,则为该形状的修饰器的集合;否则为 nullnull 引用(在 Visual Basic 中为 Nothing)。
备注
默认情况下,返回值是 nullnull 引用(在 Visual Basic 中为 Nothing)。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。