ImmutableDictionary<TKey,TValue>.Builder.Contains メソッド

定義

変更できないディクショナリに特定の値が含まれているかどうかを判定します。

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public bool Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Contains (item As KeyValuePair(Of TKey, TValue)) As Boolean

パラメーター

item
KeyValuePair<TKey,TValue>

ディクショナリ内で検索するオブジェクト。

戻り値

item がディクショナリに存在する場合は true。それ以外の場合は false

実装

適用対象