RecognizerContextRecognitionWithAlternatesEventArgs Constructor
Initializes a new instance of the RecognizerContextRecognitionWithAlternatesEventArgs class.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
result As RecognitionResult, _
customData As Object, _
recognitionStatus As RecognitionStatus _
)
'Usage
Dim result As RecognitionResult
Dim customData As Object
Dim recognitionStatus As RecognitionStatus
Dim instance As New RecognizerContextRecognitionWithAlternatesEventArgs(result, _
customData, recognitionStatus)
public RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult result,
Object customData,
RecognitionStatus recognitionStatus
)
public:
RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult^ result,
Object^ customData,
RecognitionStatus recognitionStatus
)
public function RecognizerContextRecognitionWithAlternatesEventArgs(
result : RecognitionResult,
customData : Object,
recognitionStatus : RecognitionStatus
)
Parameters
result
Type: Microsoft.Ink.RecognitionResultThe RecognitionResult object that the recognizer returned.
customData
Type: System.ObjectThe custom data supplied by the application.
recognitionStatus
Type: Microsoft.Ink.RecognitionStatusOne 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 RecognizerContextRecognitionWithAlternatesEventArgs 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
RecognizerContextRecognitionWithAlternatesEventArgs Class