共用方式為


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

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace