JsonArray.Contains(JsonNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether an element is in the JsonArray.
public:
virtual bool Contains(System::Text::Json::Nodes::JsonNode ^ item);
public bool Contains (System.Text.Json.Nodes.JsonNode? item);
abstract member Contains : System.Text.Json.Nodes.JsonNode -> bool
override this.Contains : System.Text.Json.Nodes.JsonNode -> bool
Public Function Contains (item As JsonNode) As Boolean
Parameters
Returns
true
if item
is found in the JsonArray; otherwise, false
.