共用方式為


TouchCapabilities.TouchPresent 屬性

定義

取得值,這個值表示是否偵測到觸控數位板。

public:
 property int TouchPresent { int get(); };
int TouchPresent();
public int TouchPresent { get; }
var int32 = touchCapabilities.touchPresent;
Public ReadOnly Property TouchPresent As Integer

屬性值

Int32

int

偵測到觸控數位板的數目。 通常是 0 或 1。

備註

如果 Microsoft Visual Studio 模擬器的實例正在執行,這個屬性一律會傳回 1。

適用於

另請參閱