StateManagedCollection.IList.Clear Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime tous les éléments de la StateManagedCollection collection.
virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear
Implémente
Remarques
La OnClear méthode est appelée avant l’appel de la Clear méthode et la OnClearComplete méthode est appelée une fois Clear les éléments supprimés de la collection.