GraphLinkCollection.Get Method (String, String)

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

  • sourceId
    Type: String

    source of the link

  • targetId
    Type: String

    target of the link

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