DiagramElementHasDecorators.GetDecorators(DiagramElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取修饰器的列表。
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
返回
- 属性