ISet<T>.ExceptWith(IEnumerable<T>) Método

Definição

Remove todos os elementos da coleção especificada do conjunto atual.

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

Parâmetros

other
IEnumerable<T>

A coleção de itens para remover do conjunto.

Exceções

other é null.

Observações

Este método é uma operação O(n), onde n é o número de elementos no other parâmetro.

Aplica-se a