Graph::FindCommonAncestor Method (IEnumerable<GraphNode^>^)

 

Finds the common ancestor of all the nodes in the given collection.

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

public:
static GraphGroup^ FindCommonAncestor(
	IEnumerable<GraphNode^>^ nodes
)

Parameters

nodes
Type: System.Collections.Generic::IEnumerable<GraphNode^>^

The set of nodes to search.

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphGroup^

The common ancestor group, or null if there is none.

Return to top
Show: