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

Definición

Quita la primera aparición de un objeto específico de la 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>

Objeto que se va a quitar de .ICollection<T>

Devoluciones

true si item se quitó correctamente de ICollection<T>; de lo contrario, false. Este método también devuelve false si item no se encuentra en el original ICollection<T>.

Implementaciones

Se aplica a