HttpApplicationState.Remove-Methode
Entfernt das benannte Objekt aus einer HttpApplicationState-Auflistung.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Syntax
'Declaration
Public Sub Remove ( _
name As String _
)
'Usage
Dim instance As HttpApplicationState
Dim name As String
instance.Remove(name)
public void Remove (
string name
)
public:
void Remove (
String^ name
)
public void Remove (
String name
)
public function Remove (
name : String
)
Parameter
- name
Der Name des Objekts, das aus der Auflistung entfernt werden soll.
Beispiel
Im folgenden Beispiel wird eine Anwendungszustandsvariable aus der Auflistung entfernt.
Application.Remove("MyAppVar1")
Application.Remove("MyAppVar1");
get_Application().Remove("MyAppVar1");
Application.Remove("MyAppVar1")
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