SessionStateItemCollection::RemoveAt Method (Int32)
.NET Framework (current version)
Deletes an item at a specified index from the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The index of the item to remove from the collection.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
If the SessionStateItemCollection collection does not contain an element with the specified name, the collection remains unchanged. No exception is thrown.
.NET Framework
Available since 2.0
Available since 2.0
Show: