Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RemoveAt Method

HttpSessionStateContainer::RemoveAt Method

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.

Implements

IHttpSessionState::RemoveAt(Int32)

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

- or -

index is equal to or greater than Count.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft