Comparteix a través de


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

Definición

Quita una clave y un valor de JsonObject.

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

Parámetros

item
KeyValuePair<String,JsonNode>

Estructura KeyValuePair que representa el nombre de propiedad y el valor que se van a quitar de JsonObject.

Devoluciones

Boolean

Es true si el elemento se quita correctamente; en caso contrario, es false.

Implementaciones

Se aplica a