June 2002
Intermediate to advanced
816 pages
28h 12m
English
AllKeys
Dim StateVars(Application.Count) As String StateVars = Application.AllKeys
Returns a string array of key names stored in the HttpApplicationState object.
StateVars
A variable of type String array that will receive the array of key names.
The example displays all keys of data stored to the Application object:
Sub Page_Load( )
Dim I as Integer
Dim StateVars(Application.Count - 1) As String
StateVars = Application.AllKeys
For I = 0 to StateVars.Length - 1
Message.Text = Message.Text + StateVars(I) + "<br/>"
Next I
End SubThis property provides a list of key names assigned to all current Application variables.
Read now
Unlock full access