SpeechRecognizer.RecognizerInfo SpeechRecognizer.RecognizerInfo SpeechRecognizer.RecognizerInfo SpeechRecognizer.RecognizerInfo Property

定義

共有音声認識エンジンに関する情報を取得します。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

プロパティ値

共有音声認識エンジンに関する情報です。Information about the shared speech recognizer.

次の例では、共有認識エンジンに関する情報をコンソールに送信します。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();  
    }  
  }  
}  

注釈

このプロパティは、Windows 音声認識によって使用されている音声認識エンジンに関する情報を返します。This property returns information about the speech recognizer in use by Windows Speech Recognition.

適用対象

こちらもご覧ください