DiagramElementHasDecorators.GetLinksToDecorators Method
Get the list of DiagramElementHasDecorators links to a DiagramElement.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Shared Function GetLinksToDecorators ( _
diagramElementInstance As DiagramElement _
) As ReadOnlyCollection(Of DiagramElementHasDecorators)
public static ReadOnlyCollection<DiagramElementHasDecorators> GetLinksToDecorators(
DiagramElement diagramElementInstance
)
public:
static ReadOnlyCollection<DiagramElementHasDecorators^>^ GetLinksToDecorators(
DiagramElement^ diagramElementInstance
)
static member GetLinksToDecorators :
diagramElementInstance:DiagramElement -> ReadOnlyCollection<DiagramElementHasDecorators>
public static function GetLinksToDecorators(
diagramElementInstance : DiagramElement
) : ReadOnlyCollection<DiagramElementHasDecorators>
Parameters
- diagramElementInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DiagramElementHasDecorators>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.