StylusDevice.ToString 方法

定義

傳回手寫筆裝置的名稱。Returns the name of the stylus device.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

StylusDevice 的名稱。The name of the StylusDevice.

範例

下列範例示範ToString方法。The following example demonstrates the ToString method.

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

適用於