HttpSessionStateContainer.Remove Method (String)


Deletes an item from the session-state collection.

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

abstract Remove : 
        name:string -> unit
override Remove : 
        name:string -> unit


Type: System.String

The name of the item to delete from the session-state collection.

If the session-state collection does not contain an element with the specified name, the collection remains unchanged. No exception is thrown.

.NET Framework
Available since 2.0
Return to top