Export (0) Print
Expand All

HttpApplicationState.RemoveAll Method

Removes all objects from an HttpApplicationState collection.

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

public void RemoveAll()

RemoveAll is an internal call to Clear.

The following example removes all HttpApplicationState variables from the collection.

Application.RemoveAll();
   

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft