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


RecognitionResult.ToString - метод

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

Returns a string that represents the TopAlternate property of the current RecognitionResult object.

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

Синтаксис

'Декларация
Public Overrides Function ToString As String
'Применение
Dim instance As RecognitionResult
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
A string that represents the TopAlternate property of the current RecognitionResult object.

Примеры

This C# example retrieves a string that represents the top alternate for a RecognitionResult object, theRecognitionResult, and displays it in a MessageBox.

[C#]

//Send the top alternate to a MessageBox
MessageBox.Show(theRecognitionResult.ToString());

This Microsoft® Visual Basic® .NET example retrieves a string that represents the top alternate for a RecognitionResult object, theRecognitionResult, and displays it in a MessageBox.

[Visual Basic]

'Send the top alternate to a MessageBox
MessageBox.Show(theRecognitionResult.ToString())

Платформы

Windows Vista

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

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

.NET Framework

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

См. также

Ссылки

RecognitionResult Класс

RecognitionResult - члены

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

RecognitionResult.TopAlternate