Freigeben über


HttpApplicationState.Clear-Methode

Entfernt alle Objekte aus einer HttpApplicationState-Auflistung.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As HttpApplicationState

instance.Clear
public void Clear ()
public:
void Clear ()
public void Clear ()
public function Clear ()

Beispiel

Im folgenden Beispiel werden alle HttpApplicationState-Variablen aus der Auflistung entfernt.

Application.Clear()
   
Application.Clear();
   
get_Application().Clear();
Application.Clear()

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

HttpApplicationState-Klasse
HttpApplicationState-Member
System.Web-Namespace