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

Definição

Determinará se o ICollection<T> contiver um 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>

O objeto a ser localizado no ICollection<T>.

Retornos

true se item for encontrado no ICollection<T>; caso contrário, false.

Implementações

Comentários

Observação

O System.Json namespace foi projetado para o Silverlight, que não tem mais suporte. Para processar JSON, recomendamos usar APIs no System.Text.Json namespace.

Aplica-se a