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
sourceId
Type: System.StringThe source node
targetId
Type: System.StringThe target node
index
Type: System.Int32Multilink index
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphLink
The Link that was found. Otherwise, null
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.