Sdílet prostřednictvím


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 override function ToString() : String

Return Value

Type: System.String
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.

Examples

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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Tablet Class

Tablet Members

Microsoft.Ink Namespace