Share via


GraphGroup.GetAncestors Method

Returns all the parent ancestors of this group, excluding this group.

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

Syntax

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

Return Value

Type: IEnumerable<GraphGroup>
Returns IEnumerable.

.NET Framework Security

See Also

Reference

GraphGroup Class

Microsoft.VisualStudio.GraphModel Namespace