Partager via


DiagramElementHasDecorators.GetDecorators Method

Gets a list of Decorators.

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

Syntax

'Declaration
Public Shared Function GetDecorators ( _
    element As DiagramElement _
) As ReadOnlyLinkedElementCollection(Of Decorator)
public static ReadOnlyLinkedElementCollection<Decorator> GetDecorators(
    DiagramElement element
)
public:
static ReadOnlyLinkedElementCollection<Decorator^>^ GetDecorators(
    DiagramElement^ element
)
static member GetDecorators : 
        element:DiagramElement -> ReadOnlyLinkedElementCollection<Decorator> 
public static function GetDecorators(
    element : DiagramElement
) : ReadOnlyLinkedElementCollection<Decorator>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<Decorator>

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace