JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Remove Método

Definición

Quita la primera aparición de un objeto específico de la interfaz ICollection<T>.

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

Parámetros

item
KeyValuePair<String,JsonValue>

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

Devoluciones

Es true si item se ha quitado correctamente de la interfaz ICollection<T>; en caso contrario, es false. Este método también devuelve false si no se encuentra item en la ICollection<T> original.

Implementaciones

Comentarios

Nota:

El System.Json espacio de nombres se diseñó para Silverlight, que ya no se admite. Para procesar JSON, se recomienda usar las API en el System.Text.Json espacio de nombres en su lugar.

Se aplica a