SrgsDocument.Culture 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 or sets the culture information for the SrgsDocument instance.
public:
property System::Globalization::CultureInfo ^ Culture { System::Globalization::CultureInfo ^ get(); void set(System::Globalization::CultureInfo ^ value); };
public System.Globalization.CultureInfo Culture { get; set; }
member this.Culture : System.Globalization.CultureInfo with get, set
Public Property Culture As CultureInfo
Property Value
A CultureInfo object that contains the current culture information for SrgsDocument.
Exceptions
The value being assigned to Culture is null
.
The value being assigned to Culture is InvariantCulture.
Remarks
Microsoft Windows and the System.Speech API accept all valid language-country codes. To perform speech recognition using the language specified in the Culture property, a speech recognition engine that supports that language-country code must be installed. The speech recognition engines that shipped with Microsoft Windows 7 work with the following language-country codes.
en-GB. English (United Kingdom)
en-US. English (United States)
de-DE. German (Germany)
es-ES. Spanish (Spain)
fr-FR. French (France)
ja-JP. Japanese (Japan)
zh-CN. Chinese (China)
zh-TW. Chinese (Taiwan)
Two-letter language codes such as "en", "fr", or "es" are also permitted.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應