AdditionalPropertiesDictionary<TValue>.ICollection<KeyValuePair<String,TValue>>.Remove Método

Definição

Remove a primeira ocorrência de um objeto específico do ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,TValue>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, TValue> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, TValue>>::Remove;
bool ICollection<KeyValuePair<string,TValue>>.Remove(System.Collections.Generic.KeyValuePair<string,TValue> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,TValue>>.Remove : System.Collections.Generic.KeyValuePair<string, 'Value> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,TValue>>.Remove : System.Collections.Generic.KeyValuePair<string, 'Value> -> bool
Function Remove (item As KeyValuePair(Of String, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of String, TValue)).Remove

Parâmetros

item
KeyValuePair<String,TValue>

O objeto a remover do ICollection<T>.

Devoluções

true se item foi removido com sucesso do ICollection<T>; caso contrário, false. Este método também retorna false se item não for encontrado no original ICollection<T>.

Implementações

Aplica-se a