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 安全性

请参阅

参考

ShapeElement 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间