Share via


DslLibraryDefinesElements.GetLinks Method

Get any DslLibraryDefinesElements links between a given DslLibrary and a DiagramElement.

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 DslLibrary, _
    target As DiagramElement _
) As ReadOnlyCollection(Of DslLibraryDefinesElements)
public static ReadOnlyCollection<DslLibraryDefinesElements> GetLinks(
    DslLibrary source,
    DiagramElement target
)
public:
static ReadOnlyCollection<DslLibraryDefinesElements^>^ GetLinks(
    DslLibrary^ source, 
    DiagramElement^ target
)
static member GetLinks : 
        source:DslLibrary * 
        target:DiagramElement -> ReadOnlyCollection<DslLibraryDefinesElements> 
public static function GetLinks(
    source : DslLibrary, 
    target : DiagramElement
) : ReadOnlyCollection<DslLibraryDefinesElements>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DslLibraryDefinesElements Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace