編集

次の方法で共有


TextPatternIdentifiers.CultureAttribute Field

Definition

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