Share via


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 function RecognizerContextRecognitionEventArgs(
    text : String, 
    customData : Object, 
    recognitionStatus : RecognitionStatus
)

Parameters

  • customData
    Type: System.Object

    The custom data supplied by the application.

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 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

RecognizerContextRecognitionEventArgs Class

RecognizerContextRecognitionEventArgs Members

Microsoft.Ink Namespace

RecognizerContext.Recognition

RecognizerContext

RecognitionResult