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

Definicja

Określa, czy element ICollection<T> zawiera określoną wartość.

 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>

Obiekt do zlokalizowania w obiekcie ICollection<T>.

Zwraca

truejeśli item zostanie znaleziony w elemecie ICollection<T>; w przeciwnym razie . false

Implementuje

Uwagi

Uwaga

Przestrzeń nazw została zaprojektowana System.Json pod kątem programu Silverlight, który nie jest już obsługiwany. Do przetwarzania danych JSON zalecamy użycie interfejsów API w System.Text.Json przestrzeni nazw.

Dotyczy