Graph::ImportSubset Method (GraphNode^, Boolean, Int32)
Visual Studio 2015
Clones the given node and its properties and the given number of levels of links and all the nodes those links point to and imports all these new nodes and links into this graph. If levels is zero, no links are copied. If levels is 1, it copies one level of links and all the nodes they point to.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Parameters
- node
-
Type:
Microsoft.VisualStudio.GraphModel::GraphNode^
The node 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 Value
Type: Microsoft.VisualStudio.GraphModel::GraphNode^
Show: