Språk

StateManagedCollection.IList.Clear Metod

Definition

Tar bort alla objekt från StateManagedCollection samlingen.

 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

Implementeringar

Kommentarer

Metoden OnClear anropas innan Clear metoden anropas och OnClearComplete metoden anropas när Clear elementen har tagits bort från samlingen.

Gäller för

Se även