List<T>.IList.Remove(Object) Método
Definição
virtual void System.Collections.IList.Remove(System::Object ^ item) = System::Collections::IList::Remove;
void IList.Remove (object item);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (item As Object) Implements IList.Remove
Parâmetros
Implementações
Exceções
O item é de um tipo que não é atribuível à IList.item is of a type that is not assignable to the IList.
Comentários
Esse método determina a igualdade usando o EqualityComparer<T>.Default comparador de igualdade padrão para T , o tipo de valores na lista.This method determines equality using the default equality comparer EqualityComparer<T>.Default for T, the type of values in the list.
Esse método executa uma pesquisa linear; Portanto, esse método é uma operação O (n), onde n é Count .This method performs a linear search; therefore, this method is an O(n) operation, where n is Count.