System.Web.SessionState.ISessionStateItemCollection.Remove Method

Deletes an item from the collection.

Syntax

public void Remove (string itemName)

Parameters

itemName
Documentation for this section has not yet been entered.

Remarks

In implementing the ISessionStateItemCollection.Remove(string) method, you should set the ISessionStateItemCollection.Dirty property to true to indicate values in the System.Web.SessionState.ISessionStateItemCollection implementation have been modified.

If the System.Web.SessionState.ISessionStateItemCollection implementation does not contain an element with the specified name, the collection should remain unchanged and no exception be thrown.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0