Page.UICulture 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
針對與頁面關聯的 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 。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應