Język

Array.IList.Clear Metoda

Definicja

Usuwa wszystkie elementy z elementu IList.

 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

Implementuje

Wyjątki

Element IList jest tylko do odczytu.

Uwagi

Ten element członkowski jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy Array wystąpienie jest rzutowanie do interfejsu IList .

Dotyczy