SynchronizedCollection<T>.RemoveAt Method (Int32)
.NET Framework (current version)
Removes an item at a specified index from the collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index of the element to be retrieved from the collection.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The index specified is less than zero or greater than the number of items in the collection. |
The elements in the collection that follow the removed element move up to occupy the vacated spot and their indices are updated accordingly.
.NET Framework
Available since 3.0
Available since 3.0
Show: