ImmutableHashSet<T>.IImmutableSet<T>.Except Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Remove os elementos da coleção especificada do conjunto atual.
virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Except(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::Except;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Except(System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.Except : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Except : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function Except (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Except
Parâmetros
- other
- IEnumerable<T>
A coleção de itens para remover deste conjunto.
Devoluções
Um novo conjunto com os itens removidos; ou o conjunto original se nenhum dos itens estivesse no conjunto.
Implementações
Observações
Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ImmutableHashSet<T> instância é transmitida para uma IImmutableSet<T> interface.