語言

TextPatternIdentifiers.CultureAttribute 欄位

定義

識別文本範圍的 CultureCultureInfo() 屬性,直到子語言層級;例如,將 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 

欄位值

備註

此識別碼由 使用者介面自動化 提供者使用。 使用者介面自動化客戶端應用程式應該使用TextPattern 中的等效欄位。

此屬性的值型別為 CultureInfo。

關於語言代碼格式的更多細節請參見 CultureInfo 。

預設值為應用程式使用者介面的語言。

Note

有時伺服器不支援語言標籤,或作者無法使用。 在這些情況下,預設值適用。

適用於

另請參閱