HttpSessionStateBase.RemoveAll 方法

定义

在派生类中重写时,从会话状态集合中移除所有键和值。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 ()

例外

始终。Always.

注解

此方法执行的功能与方法相同 ClearThis method performs the same function as the Clear method.

适用于