DiagramElementHasDecorators.GetLinks(DiagramElement, Decorator) Method

Definition

Get any DiagramElementHasDecorators links between a given DiagramElement and a Decorator.

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElementHasDecorators ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElement ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Decorator ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement source, Microsoft.VisualStudio.Modeling.DslDefinition.Decorator target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement * Microsoft.VisualStudio.Modeling.DslDefinition.Decorator -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators>
Public Shared Function GetLinks (source As DiagramElement, target As Decorator) As ReadOnlyCollection(Of DiagramElementHasDecorators)

Parameters

target
Decorator

Returns

Attributes

Applies to