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

Definition

Ermittelt, ob die ICollection<T> einen bestimmten Wert enthält.

 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

Parameter

item
KeyValuePair<String,JsonValue>

Das im ICollection<T> zu suchende Objekt.

Gibt zurück

true, wenn das item in der ICollection<T> gefunden wird, andernfalls false.

Implementiert

Hinweise

Hinweis

Der System.Json Namespace wurde für Silverlight entwickelt, das nicht mehr unterstützt wird. Für die Verarbeitung von JSON empfiehlt es sich, stattdessen APIs im Namespace zu System.Text.Json verwenden.

Gilt für: