HttpSessionStateBase.RemoveAll Method

Definition

When overridden in a derived class, removes all keys and values from the session-state collection.

public:
 virtual void RemoveAll();
public virtual void RemoveAll ();
abstract member RemoveAll : unit -> unit
override this.RemoveAll : unit -> unit
Public Overridable Sub RemoveAll ()

Exceptions

Remarks

This method performs the same function as the Clear method.

Applies to