RemoveAt Method
Collapse the table of content
Expand the table of content

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 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 2.0
Return to top
Show:
© 2016 Microsoft