Share via


GraphGroup.GetAncestors Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphGroup ^> ^ GetAncestors();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphGroup+<GetAncestors>d__33))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphGroup> GetAncestors ();
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphGroup+<GetAncestors>d__33))>]
member this.GetAncestors : unit -> seq<Microsoft.VisualStudio.GraphModel.GraphGroup>
Public Iterator Function GetAncestors () As IEnumerable(Of GraphGroup)

Returns

Attributes

Applies to