HttpApplicationState.RemoveAll Method

Definition

Removes all objects from an HttpApplicationState collection.

public:
 void RemoveAll();
public void RemoveAll ();
member this.RemoveAll : unit -> unit
Public Sub RemoveAll ()

Examples

The following example removes all HttpApplicationState variables from the collection.

Application.RemoveAll();
Application.RemoveAll()

Remarks

RemoveAll is an internal call to Clear.

Applies to