Graph.GetGroupDescendants Method (IEnumerable<GraphObject>)

Gets a flat list of all the descendant nodes of the given list of graph objects where some of those objects could be groups.

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

Syntax

'Declaration
Public Shared Function GetGroupDescendants ( _
    graphObjects As IEnumerable(Of GraphObject) _
) As IEnumerable(Of GraphNode)
public static IEnumerable<GraphNode> GetGroupDescendants(
    IEnumerable<GraphObject> graphObjects
)
public:
static IEnumerable<GraphNode^>^ GetGroupDescendants(
    IEnumerable<GraphObject^>^ graphObjects
)
static member GetGroupDescendants : 
        graphObjects:IEnumerable<GraphObject> -> IEnumerable<GraphNode> 
public static function GetGroupDescendants(
    graphObjects : IEnumerable<GraphObject>
) : IEnumerable<GraphNode>

Parameters

  • graphObjects
    Type: IEnumerable<GraphObject>

    The list of objects to flatten.

Return Value

Type: IEnumerable<GraphNode>
The flat list of all descendant nodes, including the nodes for the groups that were flattened.

.NET Framework Security

See Also

Reference

Graph Class

GetGroupDescendants Overload

Microsoft.VisualStudio.GraphModel Namespace