Graph.FindCommonAncestor(IEnumerable<GraphNode>) Method

Definition

This method finds the common ancestor of all the nodes in the given collection.

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

Parameters

nodes
IEnumerable<GraphNode>

The set of nodes to search

Returns

The common ancestor group or null if there is none

Applies to