Compartir a través de


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 String ToString ()
public override function ToString () : String
Not applicable.

Return Value

Returns a string that represents the current Cursor object.

Example

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 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

Cursor Class
Cursor Members
Microsoft.Ink Namespace