IHttpSessionState.RemoveAt Method (Int32)

 

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

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

abstract RemoveAt : 
        index:int -> unit

Parameters

index
Type: System.Int32

The index of the item to remove from the session-state collection.

The following code example implements the RemoveAt method of the IHttpSessionState interface to delete a session-state item from the internal session-state item collection by numerical index.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: