Compartir a través de


Tablet.ToString Method

Returns a string that represents the current Tablet object.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As Tablet
Dim returnValue As String

returnValue = instance.ToString
public override string ToString ()
public:
virtual String^ ToString () override
public String ToString ()
public override function ToString () : String
Not applicable.

Return Value

Returns a string that represents the current Tablet object.

Remarks

Note

This function can be re-entered if called within certain message handlers, causing unexpected results. Take care to avoid a reentrant call when handling any of the following messages: WM_ACTIVATE, WM_ACTIVATEAPP, WM_NCACTIVATE, WM_PAINT; WM_SYSCOMMAND if wParam is set to SC_HOTKEY or SC_TASKLIST; and WM_SYSKEYDOWN (when processing Alt-Tab or Alt-Esc key combinations). This is an issue with single-threaded apartment model applications.

Example

This C# example displays the string representation of the current Tablet object, theTablet, in a TextBox control, theTextBox.

theTextBox.Text = theTablet.ToString();

This Microsoft® Visual Basic® .NET example displays the string representation of the current Tablet object, theTablet, in a TextBox control, theTextBox.

theTextBox.Text = theTablet.ToString()

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Tablet Class
Tablet Members
Microsoft.Ink Namespace