ISet<T>.SymmetricExceptWith(IEnumerable<T>) Metoda

Definicja

Modyfikuje bieżący zestaw tak, aby zawierał tylko elementy, które znajdują się w bieżącym zestawie lub w określonej kolekcji, ale nie oba.

public:
 void SymmetricExceptWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void SymmetricExceptWith (System.Collections.Generic.IEnumerable<T> other);
abstract member SymmetricExceptWith : seq<'T> -> unit
Public Sub SymmetricExceptWith (other As IEnumerable(Of T))

Parametry

other
IEnumerable<T>

Kolekcja do porównania z bieżącym zestawem.

Wyjątki

other to null.

Uwagi

Wszystkie zduplikowane elementy w programie other są ignorowane.

Dotyczy