JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Contains メソッド

定義

ICollection<T> に特定の値が格納されているかどうかを判断します。

 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

パラメーター

item
KeyValuePair<String,JsonValue>

ICollection<T> 内で検索するオブジェクト。

戻り値

trueitem に存在する場合は ICollection<T>。それ以外の場合は false

実装

注釈

注意

名前空間は System.Json Silverlight 用に設計されましたが、これはサポートされなくなりました。 JSON を処理する場合は、代わりに名前空間で System.Text.Json API を使用することをお勧めします。

適用対象