Share via


GraphNode.FindRelatedNode Method

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

Syntax

'Declaration
Public Function FindRelatedNode ( _
    searchDirection As GraphSearchDirection, _
    traverseLink As Predicate(Of GraphLink), _
    acceptNode As Predicate(Of GraphNode) _
) As GraphNode
public GraphNode FindRelatedNode(
    GraphSearchDirection searchDirection,
    Predicate<GraphLink> traverseLink,
    Predicate<GraphNode> acceptNode
)
public:
GraphNode^ FindRelatedNode(
    GraphSearchDirection searchDirection, 
    Predicate<GraphLink^>^ traverseLink, 
    Predicate<GraphNode^>^ acceptNode
)
member FindRelatedNode : 
        searchDirection:GraphSearchDirection * 
        traverseLink:Predicate<GraphLink> * 
        acceptNode:Predicate<GraphNode> -> GraphNode 
public function FindRelatedNode(
    searchDirection : GraphSearchDirection, 
    traverseLink : Predicate<GraphLink>, 
    acceptNode : Predicate<GraphNode>
) : GraphNode

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

.NET Framework Security

See Also

Reference

GraphNode Class

Microsoft.VisualStudio.GraphModel Namespace