Share via


JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Contains Yöntem

Tanım

öğesinin ICollection<T> belirli bir değer içerip içermediğini belirler.

 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

Parametreler

item
KeyValuePair<String,JsonValue>

içinde ICollection<T>bulunacak nesne.

Döndürülenler

trueiçinde bulunursaICollection<T>; bulunamazsaitem, false.

Uygulamalar

Açıklamalar

Not

Ad System.Json alanı artık desteklenmeyen Silverlight için tasarlanmıştır. JSON işlemek için bunun yerine ad alanında API'leri System.Text.Json kullanmanızı öneririz.

Şunlara uygulanır