JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Contains Método

Definición

Determina si ICollection<T> contiene un valor específico.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>>::Contains;
bool ICollection<KeyValuePair<string,JsonValue>>.Contains (System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Contains : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Contains : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue> -> bool
Function Contains (item As KeyValuePair(Of String, JsonValue)) As Boolean Implements ICollection(Of KeyValuePair(Of String, JsonValue)).Contains

Parámetros

item
KeyValuePair<String,JsonValue>

Objeto que se va a buscar en ICollection<T>.

Devoluciones

true si item se encuentra en la matriz ICollection<T>; en caso contrario, false.

Implementaciones

Comentarios

Nota

El System.Json espacio de nombres se diseñó para Silverlight, que ya no se admite. Para procesar JSON, se recomienda usar las API en el System.Text.Json espacio de nombres en su lugar.

Se aplica a