BigListTRemoveRange 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.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic void RemoveRange(
int index,
int count
)
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.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException | index is
less than zero or greater than or equal to Count, or count is less than zero
or too large. |
RemarksThe amount of time to delete count items in the Deque is proportional
to the distance of index from the closest end of the Deque, plus count:
O(count + Min(index, Count - 1 - index)).
See Also