共用方式為


ReadOnlyDictionary<TKey,TValue>.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>

傳回

實作

適用於