Delen via


GraphLinkCollection.Get Method (String, String, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the link with the specified source using node Id as strings and a multilink index

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function Get ( _
    sourceId As String, _
    targetId As String, _
    index As Integer _
) As GraphLink
public GraphLink Get(
    string sourceId,
    string targetId,
    int index
)
public:
GraphLink^ Get(
    String^ sourceId, 
    String^ targetId, 
    int index
)
member Get : 
        sourceId:string * 
        targetId:string * 
        index:int -> GraphLink
public function Get(
    sourceId : String, 
    targetId : String, 
    index : int
) : GraphLink

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphLink
The Link that was found. Otherwise, null

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Get Overload

Microsoft.VisualStudio.GraphModel Namespace