ISet<T>.SymmetricExceptWith(IEnumerable<T>) メソッド

定義

現在のセットを、そのセットと指定されたコレクションの (両方に存在するのではなく) どちらか一方に存在する要素だけが格納されるように変更します。

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))

パラメーター

other
IEnumerable<T>

現在のセットと比較するコレクション。

例外

othernullです。

注釈

重複する要素 other はすべて無視されます。

適用対象