Graph.FindCommonAncestor(IEnumerable<GraphNode>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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