Page.UICulture 屬性

定義

針對與頁面關聯的 Thread 物件,設定其使用者介面 (UI) ID。

protected:
 property System::String ^ UICulture {  void set(System::String ^ value); };
public:
 property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
protected string UICulture { set; }
[System.ComponentModel.Browsable(false)]
public string UICulture { get; set; }
member this.UICulture : string
[<System.ComponentModel.Browsable(false)>]
member this.UICulture : string with get, set
Protected Property UICulture As String
Public Property UICulture As String

屬性值

UI ID。

屬性

備註

此屬性是 屬性的 CurrentThread 快捷方式。 文化特性是執行執行緒的屬性

UICulture在 .aspx 檔案的@ Page指示詞中設定 屬性。 要求頁面時,動態產生的類別會設定此屬性的值。 此外,您也可以在Web.config檔案的全球化專案中明確設定 屬性的值 UICulture

適用於

另請參閱