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

Définition

Supprime une clé et une valeur du 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

Paramètres

item
KeyValuePair<String,JsonNode>

Structure KeyValuePair représentant le nom et la valeur de la propriété à supprimer du JsonObject.

Retours

true si la suppression de l'élément réussit ; sinon, false.

Implémente

S’applique à