IList<T>.DeleteRange Method

Definition

Removes a specified number of items at the specified index.

Delphi
procedure DeleteRange(index: Integer; count: Integer)

Parameters

index
Integer

The zero-based index of the item to remove.

count
Integer

The number of items to remove.

Exceptions

index is not a valid index in the list.

count exceeds the valid range in the list.