Sdílet prostřednictvím


ObjectNode.GetRecognizedString Method

Returns the best-result string for the ObjectNode from the recognition operation.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Function GetRecognizedString As String
'Usage
Dim instance As ObjectNode 
Dim returnValue As String 

returnValue = instance.GetRecognizedString()
public string GetRecognizedString()
public:
String^ GetRecognizedString()
public function GetRecognizedString() : String

Return Value

Type: System.String
The best-result string from the ObjectNode recognition operation.

Remarks

If the InkAnalyzer does not recognize a string value, GetRecognizedString returns an empty string.

Examples

The following example puts the results of GetRecognizedString into the Text property of a TextBox, selectedResultsTextBox.

selectedResultsTextBox.Text = selectedObject.GetRecognizedString()
selectedResultsTextBox.Text = selectedObject.GetRecognizedString();

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

See Also

Reference

ObjectNode Class

ObjectNode Members

Microsoft.Ink Namespace