Export (0) Print
Expand All

HttpApplicationState.RemoveAll Method

Removes all objects from an HttpApplicationState collection.

[Visual Basic]
Public Sub RemoveAll()
[C#]
public void RemoveAll();
[C++]
public: void RemoveAll();
[JScript]
public function RemoveAll();

Remarks

RemoveAll is an internal call to Clear.

Example

The following example removes all ApplicationState variables from the collection.

[Visual Basic] 
Application.RemoveAll()
   

[C#] 
Application.RemoveAll();
   

[C++] 
Application->RemoveAll();
   

[JScript] 
Application.RemoveAll()

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpApplicationState Class | HttpApplicationState Members | System.Web Namespace

Show:
© 2015 Microsoft