Delen via


ShapeElement.Decorators Property

Gets the collection of decorators for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Decorators As IList(Of Decorator)
public virtual IList<Decorator> Decorators { get; }
public:
virtual property IList<Decorator^>^ Decorators {
    IList<Decorator^>^ get ();
}
abstract Decorators : IList<Decorator> with get 
override Decorators : IList<Decorator> with get
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

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace