ImmutableHashSet<T>.ISet<T>.IntersectWith Metoda

Definicja

Modyfikuje bieżący zestaw tak, aby zawierał tylko elementy, które znajdują się również w określonej kolekcji.

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

Parametry

other
IEnumerable<T>

Kolekcja do porównania z bieżącą kolekcją.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableHashSet<T> wystąpienie jest rzutowe do interfejsu ISet<T> .

Dotyczy