ImmutableSortedDictionary<TKey,TValue>.ContainsKey(TKey) 方法

定義

判斷此不可變排序對應是否包含指定的索引鍵。

public:
 virtual bool ContainsKey(TKey key);
public bool ContainsKey (TKey key);
abstract member ContainsKey : 'Key -> bool
override this.ContainsKey : 'Key -> bool
Public Function ContainsKey (key As TKey) As Boolean

參數

key
TKey

要尋找的索引鍵。

傳回

如果不可變字典包含指定之索引鍵,則為 true,否則為 false

實作

適用於