SpeechRecognitionEngine.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 current instance of SpeechRecognitionEngine.
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 current speech recognizer.
Examples
The following example gets a partial list of data for the current in-process speech recognition engine. For more information, see RecognizerInfo.
using System;
using System.Speech.Recognition;
namespace RecognitionEngine
{
class Program
{
static void Main(string[] args)
{
using (SpeechRecognitionEngine recognizer = new SpeechRecognitionEngine())
{
Console.WriteLine("Information for the current speech recognition engine:");
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
To get information about all of the installed speech recognizers for the current system, use the InstalledRecognizers method.
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET