Share via


GraphNode.FindAncestors Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.Collections.Generic.IEnumerable<GraphNode>
List of parents

.NET Framework Security

See Also

Reference

GraphNode Class

Microsoft.VisualStudio.GraphModel Namespace