GraphNode.FindAncestorGroups Method

Returns the list of all ancestor groups that contain this node. This differs from FindAncestors because it only returns nodes that have IsGroup=true.

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

Syntax

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

Return Value

Type: IEnumerable<GraphGroup>

.NET Framework Security

See Also

Reference

GraphNode Class

Microsoft.VisualStudio.GraphModel Namespace