HttpApplicationState.RemoveAll 方法

定义

HttpApplicationState 集合中移除所有对象。

public void RemoveAll ();

示例

以下示例从集合中删除所有 HttpApplicationState 变量。

Application.RemoveAll();

注解

RemoveAll 是对 Clear. 的内部调用。

适用于