DiagramElementHasDecorators.GetDecorators(DiagramElement) 方法

定义

获取修饰器的列表。

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)

参数

element
DiagramElement

返回

ReadOnlyLinkedElementCollection<Decorator>
属性

适用于