System.Web Namespace HttpApplicationState Class
Gets the access keys in the HttpApplicationState collection.
[ VB ]
Public ReadOnly Property AllKeys As String ( )
[ C# ]
public string [ ] AllKeys {get;}
[ C++ ]
public: __property String* get_AllKeys ( );
[ JScript ]
public function get AllKeys ( ) : String [ ];
A string array of HttpApplicationState object names.
The following example fills a string array with all the object names in the application state collection.
String [ ] stateVars = new String [ Application.Count ];
stateVars = Application.AllKeys;
Dim stateVars ( Application.Count ) As String
stateVars = Application.AllKeys
var stateVars : String [ ] = new String [ Application.Count ];
stateVars = Application.AllKeys; |
|
C# |
VB |
JScript |
HttpApplicationState Members