HttpSessionStateWrapper.RemoveAt Method (Int32)

 

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

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

public override void RemoveAt(
	int index
)

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 3.5
Return to top
Show: