RecognitionResult.ToString Method
Returns a string that represents the TopAlternate property of the current RecognitionResult object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Overrides Function ToString As String
'Usage
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
Not applicable.
Return Value
A string that represents the TopAlternate property of the current RecognitionResult object.
Example
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())
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
RecognitionResult Class
RecognitionResult Members
Microsoft.Ink Namespace
RecognitionResult.TopAlternate