Open topic with navigation

# SelectRange Method (ITreeView)

Selects the specified range of nodes in the tree. Tip: Use the BuildNodePath method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.

This method has multiple overloads.

In this topic:

## SelectRange Method (String,String)

C# Syntax

    void SelectRange(
       string fromNodePath,
       string toNodePath
    )

Parameters

fromNodePath
  The path of the first node in the range
toNodePath
  The path of the last node of the range

## SelectRange Method (ITreeViewNode,ITreeViewNode)

Selects the specified range of nodes in the tree.

Note: Supported in LeanFT versions 14.51 and later.

C# Syntax

       void SelectRange(
       ITreeViewNode fromNode,
       ITreeViewNode toNode
    )

#### Parameters

fromNode
  The first node in the range
toNode
  The last node of the range