Bagikan melalui


ImmutableSortedSet<T>.ICollection<T>.Remove(T) Metode

Definisi

Menghapus kemunculan pertama objek tertentu dari koleksi.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

Parameter

item
T

Objek yang akan dihapus dari koleksi.

Mengembalikan

true jika item berhasil dihapus dari koleksi; jika tidak, false.

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