Graph.FindCommonAncestor(IEnumerable<GraphNode>) Méthode

Définition

Cette méthode recherche l’ancêtre commun de tous les nœuds dans la collection donnée.

public:
 static Microsoft::VisualStudio::GraphModel::GraphGroup ^ FindCommonAncestor(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ nodes);
public static Microsoft.VisualStudio.GraphModel.GraphGroup FindCommonAncestor (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphNode> nodes);
static member FindCommonAncestor : seq<Microsoft.VisualStudio.GraphModel.GraphNode> -> Microsoft.VisualStudio.GraphModel.GraphGroup
Public Shared Function FindCommonAncestor (nodes As IEnumerable(Of GraphNode)) As GraphGroup

Paramètres

nodes
IEnumerable<GraphNode>

Ensemble de nœuds dans lequel effectuer la recherche

Retours

GraphGroup

Le groupe ancêtre commun ou null s’il n’en existe aucun.

S’applique à