ISet<T>.ExceptWith(IEnumerable<T>) Método
Definição
Remove todos os elementos na coleção especificada do conjunto atual.Removes all elements in the specified collection from the current set.
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 a serem removidos do conjunto.The collection of items to remove from the set.
Exceções
other é null.other is null.
Comentários
Esse método é uma operação O ( n ), em que n é o número de elementos no other parâmetro.This method is an O(n) operation, where n is the number of elements in the other parameter.