Partager via


DiagramElementHasDecorators.GetLink Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Function GetLink ( _
    source As DiagramElement, _
    target As Decorator _
) As DiagramElementHasDecorators
public static DiagramElementHasDecorators GetLink(
    DiagramElement source,
    Decorator target
)
public:
static DiagramElementHasDecorators^ GetLink(
    DiagramElement^ source, 
    Decorator^ target
)
static member GetLink : 
        source:DiagramElement * 
        target:Decorator -> DiagramElementHasDecorators 
public static function GetLink(
    source : DiagramElement, 
    target : Decorator
) : DiagramElementHasDecorators

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace