HttpSessionStateWrapper::RemoveAll Method ()

 

Removes all keys and values from the session-state collection.

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

public:
virtual void RemoveAll() override

This method performs the same function as the Clear method.

.NET Framework
Available since 3.5
Return to top
Show: