Język

PropertyDescriptorCollection.IList.Clear Metoda

Definicja

Usuwa wszystkie elementy z kolekcji.

 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

Kolekcja jest tylko do odczytu.

Uwagi

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

Dotyczy