Share via


ImmutableSortedSet<T>.ISet<T>.ExceptWith Metode

Definisi

Menghapus semua elemen dalam koleksi yang ditentukan dari set saat ini.

 virtual void System.Collections.Generic.ISet<T>.ExceptWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::ExceptWith;
void ISet<T>.ExceptWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.ExceptWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.ExceptWith : seq<'T> -> unit
Sub ExceptWith (other As IEnumerable(Of T)) Implements ISet(Of T).ExceptWith

Parameter

other
IEnumerable<T>

Kumpulan item yang akan dihapus dari set.

Penerapan

Keterangan

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

Paket NuGet System.Collections.Immutable

Tentang koleksi yang tidak dapat diubah dan cara menginstal

Berlaku untuk