HttpSessionStateContainer.RemoveAt Method (Int32)

 

Deletes an item at a specified index from the session-state collection.

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

Public Sub RemoveAt (
	index As Integer
)

Parameters

index
Type: System.Int32

The index of the item to remove from the session-state collection.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

- or -

index is equal to or greater than Count.

.NET Framework
Available since 2.0
Return to top
Show: