Share via


RecognizerContextRecognitionEventArgs.RecognizerContextRecognitionEventArgs Constructor

Initializes a new instance of the RecognizerContextRecognitionEventArgs class.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    customData As Object, _
    recognitionStatus As RecognitionStatus _
)
'Usage
Dim text As String
Dim customData As Object
Dim recognitionStatus As RecognitionStatus

Dim instance As New RecognizerContextRecognitionEventArgs(text, customData, recognitionStatus)
public RecognizerContextRecognitionEventArgs (
    string text,
    Object customData,
    RecognitionStatus recognitionStatus
)
public:
RecognizerContextRecognitionEventArgs (
    String^ text, 
    Object^ customData, 
    RecognitionStatus recognitionStatus
)
public RecognizerContextRecognitionEventArgs (
    String text, 
    Object customData, 
    RecognitionStatus recognitionStatus
)
public function RecognizerContextRecognitionEventArgs (
    text : String, 
    customData : Object, 
    recognitionStatus : RecognitionStatus
)
Not applicable.

Parameters

  • customData
    The custom data supplied by the application.
  • recognitionStatus
    One of the values from the RecognitionStatus enumeration value that indicates the recognition status as of the most recent recognition result.

Remarks

When you call either the BackgroundRecognize or BackgroundRecognizeWithAlternates method, you can pass in custom data that becomes the customData parameter for the RecognizerContextRecognitionEventArgs constructor.

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

RecognizerContextRecognitionEventArgs Class
RecognizerContextRecognitionEventArgs Members
Microsoft.Ink Namespace
RecognizerContext.Recognition
RecognizerContext
RecognitionResult