ImmutableDictionary<TKey,TValue>.Contains メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この変更できないディクショナリに、指定されたキーと値のペアが含まれているかどうかを判定します。
public:
virtual bool Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> pair);
public bool Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> pair);
abstract member Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Contains (pair As KeyValuePair(Of TKey, TValue)) As Boolean
パラメーター
検索するキーと値のペア。
戻り値
指定したキーと値のペアがディクショナリ内に見つかる場合は true
。それ以外の場合は false
。