TextPatternIdentifiers.CultureAttribute 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识文本范围的 Culture (CultureInfo) 属性,其范围缩小到子语言级别;例如,French-Switzerland(fr-CH)而不是法语(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
字段值
注解
UI 自动化提供程序使用此标识符。 UI 自动化客户端应用程序应使用 TextPattern 中的等效字段。
此属性的值的类型 CultureInfo。
有关语言代码格式的详细信息,请参阅 CultureInfo 。
默认值为应用程序用户界面的语言。
注释
在某些情况下,服务器不支持语言标记,或者作者无法使用它。 在这些情况下,将应用默认值。