GlobalizationSection.UICulture 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定處理區域依賴資源搜尋的預設文化。
public:
property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("uiCulture", DefaultValue="")]
public string UICulture { get; set; }
[<System.Configuration.ConfigurationProperty("uiCulture", DefaultValue="")>]
member this.UICulture : string with get, set
Public Property UICulture As String
屬性值
處理區域依賴資源搜尋的預設文化。
- 屬性
範例
以下程式碼範例示範如何使用該 UICulture 屬性。 此程式碼範例是本類別更大範例 GlobalizationSection 的一部分。
// Display UICulture property.
Console.WriteLine("UICulture: {0}",
configSection.UICulture);
' Display UICulture property.
Console.WriteLine("UICulture: {0}", _
configSection.UICulture)
備註
該 UICulture 屬性指定了處理區域依賴資源搜尋的預設文化。