Graph::ImportSubset Method (IEnumerable<GraphNode^>^, Boolean, Int32)

 

Clones all the nodes and the given number of levels of links away from those nodes.

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

public:
void ImportSubset(
	IEnumerable<GraphNode^>^ nodes,
	bool hideOtherNodes,
	int levels
)

Parameters

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

The list of nodes to clone.

hideOtherNodes
Type: System::Boolean

Flag indicating whether to set Visibility to Hidden on any secondary nodes that are copied by this cloning process.

levels
Type: System::Int32

How many more levels of indirection to include.

Return to top
Show: