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

Definice

Určuje, zda obsahuje ICollection<T> konkrétní hodnotu.

 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

Parametry

item
KeyValuePair<String,JsonValue>

Objekt, který se má vyhledat v objektu ICollection<T>.

Návraty

true pokud item se nachází v , ICollection<T>jinak hodnota false.

Implementuje

Poznámky

Poznámka

Obor System.Json názvů byl navržen pro Silverlight, který se už nepodporuje. Pro zpracování JSON doporučujeme místo toho použít rozhraní API v oboru System.Text.Json názvů .

Platí pro