ImmutableSortedDictionary<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