Editar

Partilhar via


JsonArray.Contains(JsonValue) Method

Definition

Determines whether the ICollection<T> contains a specific value.

public:
 virtual bool Contains(System::Json::JsonValue ^ item);
public bool Contains (System.Json.JsonValue item);
abstract member Contains : System.Json.JsonValue -> bool
override this.Contains : System.Json.JsonValue -> bool
Public Function Contains (item As JsonValue) As Boolean

Parameters

item
JsonValue

The object to locate in the ICollection<T>.

Returns

true if item is found in the ICollection<T>; otherwise, false.

Implements

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to