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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: