Поделиться через


CursorButton.ToString - метод

Обновлен: Ноябрь 2007

Returns a string that represents the current CursorButton object.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Overrides Function ToString As String
'Применение
Dim instance As CursorButton
Dim returnValue As String

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

Возвращаемое значение

Тип: System.String
Returns a string that represents the current CursorButton object.

Заметки

Typical names are Tip Switch, for when the tip of the pen is used, and Barrel Switch, for when the user presses the barrel button on the pen.

Примеры

This C# example displays the name of the CursorButton object, theCursorButton, in the TextBox control, theTextBox.

theTextBox.Text = theCursorButton.ToString();

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

theTextBox.Text = theCursorButton.ToString()

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

CursorButton Класс

CursorButton - члены

Microsoft.Ink - пространство имен