Share via


DiagramElementHasDecorators.GetLink(DiagramElement, Decorator) Method

Definition

Get the one DiagramElementHasDecorators link between a given DiagramElementand a Decorator.

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

Parameters

target
Decorator

Returns

Attributes

Applies to