SortedList(Of TKey, TValue).RemoveAt Method (Int32)
.NET Framework (current version)
Removes the element at the specified index of the SortedList(Of TKey, TValue).
Assembly: System (in System.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index of the element to remove.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
This method performs a binary search; however, the elements are moved up to fill in the open spot, so this method is an O(n) operation, where n is Count.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: