Recognizer.ToString Method
Returns a string that represents the current Recognizer object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As Recognizer
Dim returnValue As String
returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
public override function ToString() : String
Return Value
Type: System.String
Returns a string that represents the current Recognizer object.
Examples
This C# example queries a RecognizerContext, theRecognizerContext, to see which Recognizer object it is attached to. The name of the Recognizer object is then added to a ListBox control, theListBox.
[C#]
//Send the name of the recognizer to theListBox
theListBox.Items.Add(theRecognizerContext.Recognizer.ToString());
This Microsoft® Visual Basic® .NET example queries a RecognizerContext, theRecognizerContext, to see which Recognizer object it is attached to. The name of the Recognizer object is then added to a ListBox control, theListBox.
[Visual Basic]
'Send the name of the recognizer to theListBox
theListBox.Items.Add(theRecognizerContext.Recognizer.ToString())
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0