JsonObject.ICollection<KeyValuePair<String,JsonNode>>.Contains Method

Definition

Determines whether the JsonObject contains a specific property name and JsonNode reference.

bool ICollection<KeyValuePair<string,JsonNode>>.Contains(System.Collections.Generic.KeyValuePair<string,System.Text.Json.Nodes.JsonNode> item);

Parameters

item
KeyValuePair<String,JsonNode>

The element to locate in the JsonObject.

Returns

true if the JsonObject contains an element with the property name; otherwise, false.

Implements

Applies to