RecognitionResult.TopAlternate - свойство
Обновлен: Ноябрь 2007
Gets the top alternate of the recognition result.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly Property TopAlternate As RecognitionAlternate
'Применение
Dim instance As RecognitionResult
Dim value As RecognitionAlternate
value = instance.TopAlternate
public RecognitionAlternate TopAlternate { get; }
public:
property RecognitionAlternate^ TopAlternate {
RecognitionAlternate^ get ();
}
/** @property */
public RecognitionAlternate get_TopAlternate()
public function get TopAlternate () : RecognitionAlternate
Значение свойства
Тип: Microsoft.Ink.RecognitionAlternate
The top alternate of the recognition result.
Заметки
When the recognizer returns a recognition result, the recognition alternates are ranked from the highest confidence level to the lowest confidence level. The recognition alternate with the highest confidence level is selected as the top alternate.
You can use the ModifyTopAlternate method to change which recognition alternate is the top alternate.
Примеры
This C# example copies the text of the top alternate of the RecognitionResult object, theRecognitionResult, into the text box, theTextBox.
[C#]
theTextBox.Text = theRecognitionResult.TopAlternate.ToString();
This Microsoft® Visual Basic® .NET example copies the text of the top alternate of the RecognitionResult object, theRecognitionResult, into the text box, theTextBox.
[Visual Basic]
theTextBox.Text = theRecognitionResult.TopAlternate.ToString()
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0