Bearbeiten

Freigeben über


JsonArray.Contains(JsonNode) Method

Definition

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

item
JsonNode

The object to locate in the JsonArray.

Returns

true if item is found in the JsonArray; otherwise, false.

Implements

Applies to