Share via


ImmutableSortedSet<T>.ICollection<T>.Clear Metode

Definisi

Menghapus semua item dari koleksi.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear ();
abstract member System.Collections.Generic.ICollection<T>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<T>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of T).Clear

Penerapan

Keterangan

Anggota ini adalah implementasi anggota antarmuka eksplisit. Ini hanya dapat digunakan ketika instans dilemparkan ImmutableSortedSet<T> ke ICollection<T> antarmuka.

Paket System.Collections.Immutable NuGet

Tentang koleksi yang tidak dapat diubah dan cara menginstal

Berlaku untuk