Partager via


Graph.GetGroupDescendants, méthode (IEnumerable<GraphObject>)

Obtient une liste plate de tous les nœuds descendants de la liste donnée d'objets de graphique à certains de ces objets peuvent être des groupes.

Espace de noms :  Microsoft.VisualStudio.GraphModel
Assembly :  Microsoft.VisualStudio.GraphModel (dans Microsoft.VisualStudio.GraphModel.dll)

Syntaxe

'Déclaration
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>

Paramètres

  • graphObjects
    Type : IEnumerable<GraphObject>

    Liste d'objets à aplatir.

Valeur de retour

Type : IEnumerable<GraphNode>
Liste plate de tous les nœuds descendants, notamment les nœuds pour les groupes qui ont été aplatis.

Sécurité .NET Framework

Voir aussi

Référence

Graph Classe

GetGroupDescendants, surcharge

Microsoft.VisualStudio.GraphModel, espace de noms