共用方式為


AttributeDictionary.ContainsKey(String) 方法

定義

判斷 IDictionary<TKey,TValue> 是否包含具有指定之索引鍵的項目。

public:
 virtual bool ContainsKey(System::String ^ key);
public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean

參數

key
String

傳回

實作

適用於