StylusDevice.Id 屬性

定義

取得觸控筆裝置的識別碼。

public:
 property int Id { int get(); };
public int Id { get; }
member this.Id : int
Public ReadOnly Property Id As Integer

屬性值

觸控筆裝置的識別碼。

範例

以下範例展示了該 Id 性質。

textbox1.AppendText("Id: " + myStylusDevice.Id.ToString() + "\n");
textbox1.AppendText("Id: " + myStylusDevice.Id.ToString() + vbCrLf)

適用於