SpeechRecognizer.RecognizerInfo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about the shared speech recognizer.
public:
property System::Speech::Recognition::RecognizerInfo ^ RecognizerInfo { System::Speech::Recognition::RecognizerInfo ^ get(); };
public System.Speech.Recognition.RecognizerInfo RecognizerInfo { get; }
member this.RecognizerInfo : System.Speech.Recognition.RecognizerInfo
Public ReadOnly Property RecognizerInfo As RecognizerInfo
Property Value
Information about the shared speech recognizer.
Examples
The following example sends information about the shared recognizer to the console.
using System;
using System.Speech.Recognition;
namespace SharedRecognizer
{
class Program
{
static void Main(string[] args)
{
using (SpeechRecognizer recognizer = new SpeechRecognizer())
{
Console.WriteLine("Recognizer information for the shared recognizer:");
Console.WriteLine(" Name: {0}", recognizer.RecognizerInfo.Name);
Console.WriteLine(" Culture: {0}", recognizer.RecognizerInfo.Culture.ToString());
Console.WriteLine(" Description: {0}", recognizer.RecognizerInfo.Description);
}
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
}
}
Remarks
This property returns information about the speech recognizer in use by Windows Speech Recognition.
Applies to
See also
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.