EmulateRecognizeCompletedEventArgs.Result Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the results of emulated recognition.

Namespace:   System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public RecognitionResult Result { get; }

Property Value

Type: System.Speech.Recognition.RecognitionResult

Detailed information about the results of recognition, or null if an error occurred.

The RecognitionResult object derives from RecognizedPhrase and contains full information about a phrase returned by a recognition operation. You can obtain a list off all the recognition candidates from the Alternates property.

If recognizer encounters an exception during the recognition operation, the Error property is set to the exception and the Result property is set to null.

.NET Framework
Available since 3.0
Return to top