ImmutableSortedSet<T>.IImmutableSet<T>.SymmetricExcept 方法

定義

建立不可變的資料集,其中僅包含在目前資料集或指定之集合 (但非兩者) 中出現的項目。

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::SymmetricExcept;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.SymmetricExcept (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function SymmetricExcept (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).SymmetricExcept

參數

other
IEnumerable<T>

要與目前資料組比較的集合。

傳回

新的資料集,其中僅包含在目前資料集或指定之集合 (但非兩者) 中出現的項目。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableSortedSet<T> 執行個體轉換成 IImmutableSet<T> 介面時,才能使用這個成員。

System.Collections.Immutable NuGet 套件

關於不可變的集合以及如何安裝

適用於