HttpApplicationState.RemoveAll Metod

Definition

Tar bort alla objekt från en HttpApplicationState samling.

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

Exempel

I följande exempel tar du bort alla HttpApplicationState variabler från samlingen.

Application.RemoveAll();
Application.RemoveAll()

Kommentarer

RemoveAll är ett internt anrop till Clear.

Gäller för