Share via


GraphNode.FindAncestors Method

Walks recursively up all ancestors of this node and returns the unique set.

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

Syntax

'Declaration
Public Function FindAncestors As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> FindAncestors()
public:
IEnumerable<GraphNode^>^ FindAncestors()
member FindAncestors : unit -> IEnumerable<GraphNode> 
public function FindAncestors() : IEnumerable<GraphNode>

Return Value

Type: IEnumerable<GraphNode>
List of parents

.NET Framework Security

See Also

Reference

GraphNode Class

Microsoft.VisualStudio.GraphModel Namespace