Share via


Cursor.ToString Method

Returns a string that represents the current Cursor object.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As Cursor 
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 Cursor object.

Examples

This C# example displays the name of the Cursor object, theCursor, in the TextBox control, theTextBox.

theTextBox.Text = theCursor.ToString();

This Microsoft® Visual Basic® .NET example displays the name of the Cursor object, theCursor, in the TextBox control, theTextBox.

theTextBox.Text = theCursor.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

Cursor Class

Cursor Members

Microsoft.Ink Namespace