Partager via


DslHasDiagram.GetLink Method

Get the one DslHasDiagram link between a given Dsland a Diagram.

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 Dsl, _
    target As Diagram _
) As DslHasDiagram
public static DslHasDiagram GetLink(
    Dsl source,
    Diagram target
)
public:
static DslHasDiagram^ GetLink(
    Dsl^ source, 
    Diagram^ target
)
static member GetLink : 
        source:Dsl * 
        target:Diagram -> DslHasDiagram 
public static function GetLink(
    source : Dsl, 
    target : Diagram
) : DslHasDiagram

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram

.NET Framework Security

See Also

Reference

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace