ImmutableHashSet<T>.SymmetricExcept(IEnumerable<T>) 方法

定義

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

public:
 System::Collections::Immutable::ImmutableHashSet<T> ^ SymmetricExcept(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableHashSet<T> SymmetricExcept (System.Collections.Generic.IEnumerable<T> other);
member this.SymmetricExcept : seq<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function SymmetricExcept (other As IEnumerable(Of T)) As ImmutableHashSet(Of T)

參數

other
IEnumerable<T>

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

傳回

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

適用於