Share via


KeyboardCapabilities.KeyboardPresent 屬性

定義

取得值,這個值表示是否偵測到裝置將本身識別為鍵盤。

public:
 property int KeyboardPresent { int get(); };
int KeyboardPresent();
public int KeyboardPresent { get; }
var int32 = keyboardCapabilities.keyboardPresent;
Public ReadOnly Property KeyboardPresent As Integer

屬性值

Int32

int

如果偵測到將本身識別為鍵盤的裝置,則傳回 1。 否則,會傳回 0。

適用於

另請參閱