Share via


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

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

Syntax

'Declaration
Public Sub ImportSubset ( _
    nodes As IEnumerable(Of GraphNode), _
    hideOtherNodes As Boolean, _
    levels As Integer _
)
public void ImportSubset(
    IEnumerable<GraphNode> nodes,
    bool hideOtherNodes,
    int levels
)
public:
void ImportSubset(
    IEnumerable<GraphNode^>^ nodes, 
    bool hideOtherNodes, 
    int levels
)
member ImportSubset : 
        nodes:IEnumerable<GraphNode> * 
        hideOtherNodes:bool * 
        levels:int -> unit
public function ImportSubset(
    nodes : IEnumerable<GraphNode>, 
    hideOtherNodes : boolean, 
    levels : int
)

Parameters

  • 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.

.NET Framework Security

See Also

Reference

Graph Class

ImportSubset Overload

Microsoft.VisualStudio.GraphModel Namespace