Cursor.ToString Method
Cursor.ToString Method |
Returns a string that represents the current Cursor object.
Definition
Visual Basic .NET Overrides Public Function ToString() As String C# public override string ToString(); Managed C++ public: String* ToString();
Return Value
System.String. Returns a string that represents the current Cursor object.
Examples
[C#]
This C# example displays the name of the Cursor object, theCursor, in the TextBox control, theTextBox.
theTextBox.Text = theCursor.ToString();
[VB.NET]
This Microsoft® Visual Basic® .NET example displays the name of the Cursor object, theCursor, in the TextBox control, theTextBox.
theTextBox.Text = theCursor.ToString()