次の方法で共有


RecognizerContext.BackgroundRecognizeWithAlternates Method

RecognizerContext.BackgroundRecognizeWithAlternates Method

Causes the Recognizer object to recognize the associated Strokes collection and raise a RecognitionWithAlternates event when recognition is complete.

Definition

Visual Basic .NET Public Sub BackgroundRecognizeWithAlternates( _
ByVal customData As Object _
)
C# public void BackgroundRecognizeWithAlternates(
object customData
);
Managed C++ public: void BackgroundRecognizeWithAlternates(
Object *customData
);

Parameters

customData System.Object. Any application-defined data that is available to the application in the Recognition event. The default value is null (Nothing in Microsoft® Visual Basic® .NET).

Exceptions

ObjectDisposedException Leave Site: The RecognizerContext object is disposed.

Remarks

This method specifies that ink recognition is performed asynchronously.

To perform recognition that includes only the top alternate, call the BackgroundRecognize method.

The RecognitionWithAlternates event is not raised if the recognizer does not recognize any alternates.

Examples

See Also