HttpSessionStateWrapper::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 the item at the specified index from the session-state collection.

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

public:
virtual void RemoveAt(
	int index
) override

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: