HttpApplicationState.Contents Property
.NET Framework 3.0
Gets a reference to the HttpApplicationState object.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following example creates a new HttpApplicationState object that is used to access the object names in the application state collection.
HttpApplicationState AppState2; AppState2 = get_Application().get_Contents(); String StateVars[] = new String[AppState2.get_Count()]; StateVars = AppState2.get_AllKeys();
var AppState2 : HttpApplicationState AppState2 = Application.Contents var StateVars : String[] = new String[AppState2.Count] StateVars = AppState2.AllKeys
Community Additions
ADD
Show: