SpeechRecognizer.SystemSpeechLanguage 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 the speech language of the device specified in Settings > Time & Language > Speech.
public:
static property Language ^ SystemSpeechLanguage { Language ^ get(); };
static Language SystemSpeechLanguage();
public static Language SystemSpeechLanguage { get; }
var language = SpeechRecognizer.systemSpeechLanguage;
Public Shared ReadOnly Property SystemSpeechLanguage As Language
Property Value
The speech language of the device, or null if a speech language is not installed.
Remarks
Speech languages are added from the Settings > Time & Language > Region & language screen.
- Click Add a language.
- Select a language from the Add a language screen.
- Depending on the language selected, a language region screen might be displayed. Select the region.
- From the Settings > Time & Language > Region & language screen, select the language and click Options.
- If a speech language is available for the selected language and region, a Download button is displayed on the Language options screen. Click this button to download and install the speech language.
If no language is specified in the SpeechRecognizer() constructor, CurrentLanguage is initialized with the value of SystemSpeechLanguage.