DiagramElementHasDecorators.GetDecorators(DiagramElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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