Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SessionStateItemCollection::Remove Method (String^)

 

Deletes an item from the collection.

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

public:
virtual void Remove(
	String^ name
) sealed

Parameters

name
Type: System::String^

The name of the item to delete from the collection.

If the SessionStateItemCollection 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
Show:
© 2017 Microsoft