Redigera

Dela via


HttpApplicationState.AllKeys Property

Definition

Gets the access keys in the HttpApplicationState collection.

public:
 property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()

Property Value

String[]

A string array of HttpApplicationState object names.

Examples

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

Applies to