ShapeElement.Decorators Property
Gets the collection of decorators for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Overridable ReadOnly Property Decorators As IList(Of Decorator)
Get
public virtual IList<Decorator> Decorators { get; }
public:
virtual property IList<Decorator^>^ Decorators {
IList<Decorator^>^ get ();
}
abstract Decorators : IList<Decorator>
override Decorators : IList<Decorator>
function get Decorators () : IList<Decorator>
Property Value
Type: System.Collections.Generic.IList<Decorator>
The collection of decorators for the shape; otherwise, nulla null reference (Nothing in Visual Basic) if the shape has no decorators.
Remarks
By default, the return value is nulla null reference (Nothing in Visual Basic).
.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.