Delen via


GraphLinkCollection.Get Method (String, String)

[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

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

Syntax

'Declaration
Public Function Get ( _
    sourceId As String, _
    targetId As String _
) As GraphLink
public GraphLink Get(
    string sourceId,
    string targetId
)
public:
GraphLink^ Get(
    String^ sourceId, 
    String^ targetId
)
member Get : 
        sourceId:string * 
        targetId:string -> GraphLink
public function Get(
    sourceId : String, 
    targetId : String
) : 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