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: Stringsource of the link
targetId
Type: Stringtarget of the link
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.