Click or drag to resize
DequeTRemoveRange Method
Removes a range of items at the given index in the Deque. All items at indexes greater than index move down count indices in the Deque.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public void RemoveRange(
	int index,
	int count
)

Parameters

index
Type: SystemInt32
The index in the list to remove the range at. The first item in the list has index 0.
count
Type: SystemInt32
The number of items to remove.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or greater than or equal to Count, or count is less than zero or too large.
Remarks
The amount of time to delete count items in the Deque is proportional to the distance to the closest end of the Deque: O(Min(index, Count - index - count)).
See Also