Sage Modeling and Simulation Library

EventedList<(Of <(<'T>)>)>..::..RemoveRange Method

Removes a range of elements from the List.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void RemoveRange(
	int index,
	int count
)

Parameters

index
Type: Int32
The zero-based starting index of the range of elements to remove.
count
Type: Int32
The number of elements to remove.

Exceptions


ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0.-or-count is less than 0.
ArgumentExceptionindex and count do not denote a valid range of elements in the List.