IImmutableDictionary<TKey,TValue>.Contains メソッド

定義

変更できないディクショナリに、指定したキーと値のペアが含まれているかどうかを判断します。

public:
 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
Public Function Contains (pair As KeyValuePair(Of TKey, TValue)) As Boolean

パラメーター

pair
KeyValuePair<TKey,TValue>

検索するキーと値のペア。

返品

true 指定したキーと値のペアがディクショナリで見つかった場合。それ以外の場合は false

適用対象