Partilhar via


DiagramHasBaseDiagram.GetLinks Method

Get any DiagramHasBaseDiagram links between a given Diagram and 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

'Declaração
Public Shared Function GetLinks ( _
    source As Diagram, _
    target As Diagram _
) As ReadOnlyCollection(Of DiagramHasBaseDiagram)
public static ReadOnlyCollection<DiagramHasBaseDiagram> GetLinks(
    Diagram source,
    Diagram target
)
public:
static ReadOnlyCollection<DiagramHasBaseDiagram^>^ GetLinks(
    Diagram^ source, 
    Diagram^ target
)
static member GetLinks : 
        source:Diagram * 
        target:Diagram -> ReadOnlyCollection<DiagramHasBaseDiagram> 
public static function GetLinks(
    source : Diagram, 
    target : Diagram
) : ReadOnlyCollection<DiagramHasBaseDiagram>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DiagramHasBaseDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace