Open sandboxFocus

Method RemoveRange

RemoveRange(int, int)

Removes a range of elements from the AdvisableCollection<T>.

Declaration
public void RemoveRange(int index, int count)
Parameters
Type Name Description
int index

The zero-based starting index of the range of elements to remove.

int count

The number of elements to remove.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is less than 0.

-or-

count is less than 0.

ArgumentException

index and count do not denote a valid range of elements in the AdvisableCollection<T>.