Partager via


DiagramHasBaseDiagram.GetLink Method

Get the one DiagramHasBaseDiagram link between a given Diagramand a Diagram.

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

Syntax

'Declaration
Public Shared Function GetLink ( _
    source As Diagram, _
    target As Diagram _
) As DiagramHasBaseDiagram
public static DiagramHasBaseDiagram GetLink(
    Diagram source,
    Diagram target
)
public:
static DiagramHasBaseDiagram^ GetLink(
    Diagram^ source, 
    Diagram^ target
)
static member GetLink : 
        source:Diagram * 
        target:Diagram -> DiagramHasBaseDiagram
public static function GetLink(
    source : Diagram, 
    target : Diagram
) : DiagramHasBaseDiagram

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasBaseDiagram

.NET Framework Security

See Also

Reference

DiagramHasBaseDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace