Share via


DslHasDiagram.GetLinks Method

Get any DslHasDiagram links between a given Dsl and 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 GetLinks ( _
    source As Dsl, _
    target As Diagram _
) As ReadOnlyCollection(Of DslHasDiagram)
public static ReadOnlyCollection<DslHasDiagram> GetLinks(
    Dsl source,
    Diagram target
)
public:
static ReadOnlyCollection<DslHasDiagram^>^ GetLinks(
    Dsl^ source, 
    Diagram^ target
)
static member GetLinks : 
        source:Dsl * 
        target:Diagram -> ReadOnlyCollection<DslHasDiagram> 
public static function GetLinks(
    source : Dsl, 
    target : Diagram
) : ReadOnlyCollection<DslHasDiagram>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<DslHasDiagram>

.NET Framework Security

See Also

Reference

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace