HttpSessionStateContainer::RemoveAt Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
virtual void RemoveAt(
	int index
) sealed

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: