Partager via


GraphGroup.GetAncestors Method

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

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: System.Collections.Generic.IEnumerable<GraphGroup>
Returns IEnumerable<T>.

.NET Framework Security

See Also

Reference

GraphGroup Class

Microsoft.VisualStudio.GraphModel Namespace