Open topic with navigation

# SelectRange Method (IList)

Selects all list items between (and including) the two specified items.

This method has multiple overloads.

In this topic:

## SelectRange(Int32,Int32) Method

Selects all list items between (and including) the two specified items.

C# Syntax

                    void SelectRange(
       int indexFrom,
       int indexTo
    )

Parameters

indexFrom
  The 0-based index of the first item in the range.
indexTo
  The 0-based index of the last item of the range.

## SelectRange(String,String) Method

Selects all list items between (and including) the two specified items.

Note: Supported in LeanFT versions 14.51 and later.

C# Syntax

                    void SelectRange(
       string itemFrom,
       string itemTo
    )

Parameters

itemFrom
  The name of the first item in the range.
itemTo
  The name of the last item of the range.