Freigeben über


HttpApplicationState.AllKeys-Eigenschaft

Ruft die Zugriffstasten in der HttpApplicationState-Auflistung ab.

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

Syntax

'Declaration
Public ReadOnly Property AllKeys As String()
'Usage
Dim instance As HttpApplicationState
Dim value As String()

value = instance.AllKeys
public string[] AllKeys { get; }
public:
property array<String^>^ AllKeys {
    array<String^>^ get ();
}
/** @property */
public String[] get_AllKeys ()
public function get AllKeys () : String[]

Eigenschaftenwert

Ein Zeichenfolgenarray von HttpApplicationState-Objektnamen.

Beispiel

Im folgenden Beispiel wird ein Zeichenfolgenarray mit allen Objektnamen in der Anwendungszustandsauflistung gefüllt.

Dim StateVars(Application.Count) As String
StateVars = Application.AllKeys
String[] StateVars = new String[Application.Count];
StateVars = Application.AllKeys;   
String stateVars[] = new String[get_Application().get_Count()];
stateVars = get_Application().get_AllKeys();
var StateVars : String[] = new String[Application.Count];
StateVars = Application.AllKeys

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