Share via


SpeechRecognizer.CurrentLanguage Property

Definition

Gets the language used for speech recognition.

public:
 property Language ^ CurrentLanguage { Language ^ get(); };
Language CurrentLanguage();
public Language CurrentLanguage { get; }
var language = speechRecognizer.currentLanguage;
Public ReadOnly Property CurrentLanguage As Language

Property Value

The language used for speech recognition.

Remarks

CurrentLanguage is initialized with the value specified in the SpeechRecognizer(language) constructor. If no language is specified in the SpeechRecognizer() constructor, CurrentLanguage is initialized with the value of SystemSpeechLanguage.

Applies to

See also