Freigeben über


DiagramElementHasDecorators.GetDecorators(DiagramElement) Method

Definition

Gets a list of Decorators.

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

Parameters

element
DiagramElement

Returns

Attributes

Applies to