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
- searchDirection
Type: Microsoft.VisualStudio.GraphModel.GraphSearchDirection
- traverseLink
Type: System.Predicate<GraphLink>
- acceptNode
Type: System.Predicate<GraphNode>
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
.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.