HttpApplicationState.RemoveAll 方法

定義

HttpApplicationState 集合移除所有物件。Removes all objects from an HttpApplicationState collection.

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

範例

下列範例會 HttpApplicationState 從集合中移除所有變數。The following example removes all HttpApplicationState variables from the collection.

Application.RemoveAll();
Application.RemoveAll()

備註

RemoveAll 這是的內部呼叫 ClearRemoveAll is an internal call to Clear.

適用於