Freigeben über


HttpApplicationState.RemoveAll-Methode

Entfernt alle Objekte aus einer HttpApplicationState-Auflistung.

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

Syntax

'Declaration
Public Sub RemoveAll
'Usage
Dim instance As HttpApplicationState

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

Hinweise

RemoveAll ist ein interner Aufruf von Clear.

Beispiel

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

Application.RemoveAll()
   
Application.RemoveAll();
   
get_Application().RemoveAll();
Application.RemoveAll()

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