TextPatternIdentifiers.CultureAttribute Field
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.
Identifies the Culture (CultureInfo) attribute of a text range down to the sub-language level; for example, French-Switzerland (fr-CH) instead of French (fr).
public: static initonly System::Windows::Automation::AutomationTextAttribute ^ CultureAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute CultureAttribute;
staticval mutable CultureAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly CultureAttribute As AutomationTextAttribute
Field Value
Remarks
This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.
Values for this attribute are of type CultureInfo.
See CultureInfo for more detail on the language code format.
The default value is the language of the application user interface.
Note
There might be cases where the server does not support the language tag or authors cannot use it. In those cases the default applies.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈