SpeechRecognitionEngine.RecognizerInfo Propiedad

Definición

Obtiene información acerca de la instancia actual de SpeechRecognitionEngine.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

Valor de propiedad

RecognizerInfo

Información sobre el reconocedor de voz actual.Information about the current speech recognizer.

Ejemplos

En el ejemplo siguiente se obtiene una lista parcial de datos para el motor de reconocimiento de voz en curso actual.The following example gets a partial list of data for the current in-process speech recognition engine. Para obtener más información, vea RecognizerInfo.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();  
    }  
  }  
}  

Comentarios

Para obtener información acerca de todos los reconocedores de voz instalados para el sistema actual, use el InstalledRecognizers método.To get information about all of the installed speech recognizers for the current system, use the InstalledRecognizers method.

Se aplica a

Consulte también