Share via


PropertyDescriptorCollection.IList.Clear Metode

Definisi

Menghapus semua item dari koleksi.

 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

Penerapan

Pengecualian

Koleksi bersifat baca-saja.

Keterangan

Anggota ini adalah implementasi anggota antarmuka eksplisit. Ini hanya dapat digunakan ketika instans dilemparkan PropertyDescriptorCollection ke IList antarmuka.

Berlaku untuk