CharacterMetricsDictionary.ContainsKey(Int32) 方法

定義

判斷集合是否包含指定的字元碼。

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

參數

key
Int32

型別 Int32 的值,表示字元碼。

傳回

Boolean

如果字典包含 key 則為 true,否則為 false

實作

適用於