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

Définition

Détermine si le JsonObject fichier contient un nom et JsonNode une référence de propriété spécifiques.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Text.Json.Nodes.JsonNode>>.Contains(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 ^>>::Contains;
bool ICollection<KeyValuePair<string,JsonNode>>.Contains (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>>.Contains : 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>>.Contains : System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode> -> bool
Function Contains (item As KeyValuePair(Of String, JsonNode)) As Boolean Implements ICollection(Of KeyValuePair(Of String, JsonNode)).Contains

Paramètres

item
KeyValuePair<String,JsonNode>

Élément à localiser dans le JsonObject.

Retours

Boolean

true si le JsonObject fichier contient un élément portant le nom de la propriété ; sinon, false.

Implémente

S’applique à