GraphLinkCollection.Get Method (GraphNode, GraphNode)
Gets the link with the specified source
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Get ( _
source As GraphNode, _
target As GraphNode _
) As GraphLink
public GraphLink Get(
GraphNode source,
GraphNode target
)
public:
GraphLink^ Get(
GraphNode^ source,
GraphNode^ target
)
member Get :
source:GraphNode *
target:GraphNode -> GraphLink
public function Get(
source : GraphNode,
target : GraphNode
) : GraphLink
Parameters
- source
Type: Microsoft.VisualStudio.GraphModel.GraphNode
source of the link
- target
Type: Microsoft.VisualStudio.GraphModel.GraphNode
target 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.