Leer en inglés Editar

Compartir a través de


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

Definition

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

C#
bool ICollection<KeyValuePair<string,JsonValue>>.Contains(System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue> item);

Parameters

item
KeyValuePair<String,JsonValue>

The object to locate in the ICollection<T>.

Returns

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

Implements

Remarks

Nota

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

Producto Versiones
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)