共用方式為


ShapeHasDecorators.GetDecorators(Shape) Method

Definition

Gets a list of Decorators.

public:
 static Microsoft::VisualStudio::Modeling::LinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::Decorator ^> ^ GetDecorators(Microsoft::VisualStudio::Modeling::DslDefinition::Shape ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Decorator> GetDecorators (Microsoft.VisualStudio.Modeling.DslDefinition.Shape element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetDecorators : Microsoft.VisualStudio.Modeling.DslDefinition.Shape -> Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Decorator>
Public Shared Function GetDecorators (element As Shape) As LinkedElementCollection(Of Decorator)

Parameters

element
Shape

Returns

Attributes

Applies to