HttpApplicationState.RemoveAll 方法

定義

HttpApplicationState 集合移除所有物件。

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

範例

下列範例會從集合中移除所有 HttpApplicationState 變數。

Application.RemoveAll();
Application.RemoveAll()

備註

RemoveAll 是 的內部 Clear 呼叫。

適用於