System.Web.HttpApplicationState Members

The members of System.Web.HttpApplicationState are listed below.

See Also: Inherited members from System.Collections.Specialized.NameObjectCollectionBase

Public Properties

[read-only]
AllKeysstring[].

Gets the access keys in the System.Web.HttpApplicationState collection.

[read-only]
ContentsHttpApplicationState.

Gets a reference to the System.Web.HttpApplicationState object.

[read-only]
override
Countint.

Gets the number of objects in the System.Web.HttpApplicationState collection.

[read-only]
default property
Item(int)object. Documentation for this section has not yet been entered.
default property
Item(string)object. Documentation for this section has not yet been entered.
[read-only]
StaticObjectsHttpStaticObjectsCollection.

Gets all objects declared by an <object> tag where the scope is set to "Application" within the ASP.NET application.

Public Methods

Add(string, object)

Adds a new object to the System.Web.HttpApplicationState collection.

Clear()

Removes all objects from an System.Web.HttpApplicationState collection.

Get(int) : object

Gets an System.Web.HttpApplicationState object by numerical index.

Get(string) : object

Gets an System.Web.HttpApplicationState object by name.

GetKey(int) : string

Gets an System.Web.HttpApplicationState object name by index.

Lock()

Locks access to an System.Web.HttpApplicationState variable to facilitate access synchronization.

Remove(string)

Removes the named object from an System.Web.HttpApplicationState collection.

RemoveAll()

Removes all objects from an System.Web.HttpApplicationState collection.

RemoveAt(int)

Removes an System.Web.HttpApplicationState object from a collection by index.

Set(string, object)

Updates the value of an object in an System.Web.HttpApplicationState collection.

UnLock()

Unlocks access to an System.Web.HttpApplicationState variable to facilitate access synchronization.