Share this page

# SelectRange Method (IList)

Selects list items between (and including) the two specified items.
This method has multiple overloads.

In this topic:

## SelectRange Method (Int32,Int32)

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

C# Syntax

                    void SelectRange(
       int indexFrom,
       int indexTo
    )

Parameters

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

## SelectRange Method (String,String)

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

C# Syntax

                    void SelectRange(
       int itemNameFirst,
       int itemNameLast
    )

Parameters

itemNameFirst
  The name of the first item to select.
itemNameLast

The name of the last item to select.

## SelectRange Method (IListItem,IListItem)

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

C# Syntax

                    void SelectRange(
       IListItem itemFrom,
       IListItem itemTo
    )

Parameters

itemNameFrom
  The first ListItem to select.
itemNameTo
  The last ListItem to select.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: