This documentation is archived and is not being maintained.
HttpApplicationState.AllKeys Property
.NET Framework 1.1
Gets the access keys in the HttpApplicationState collection.
[Visual Basic] Public ReadOnly Property AllKeys As String () [C#] public string[] AllKeys {get;} [C++] public: __property String* get_AllKeys(); [JScript] public function get AllKeys() : String[];
Property Value
A string array of HttpApplicationState object names.
Example
The following example fills a string array with all the object names in the application state collection.
[Visual Basic] Dim StateVars(Application.Count) As String StateVars = Application.AllKeys [C#] String[] StateVars = new String[Application.Count]; StateVars = Application.AllKeys; [C++] String* StateVars[] = new String*[Application->Count]; StateVars = Application->AllKeys; [JScript] var StateVars : String[] = new String[Application.Count]; StateVars = Application.AllKeys
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpApplicationState Class | HttpApplicationState Members | System.Web Namespace
Show: