Page.InitializeCulture Page.InitializeCulture Page.InitializeCulture Page.InitializeCulture Method

定義

設定頁面目前執行緒的 CultureUICultureSets the Culture and UICulture for the current thread of the page.

protected:
 virtual void InitializeCulture();
protected virtual void InitializeCulture ();
abstract member InitializeCulture : unit -> unit
override this.InitializeCulture : unit -> unit
Protected Overridable Sub InitializeCulture ()

備註

InitializeCulture方法不包含任何程式碼撰寫的邏輯。The InitializeCulture method contains no coding logic. 控制擴充功能的開發人員Page類別可以覆寫InitializeCulture方法來初始化CultureUICulture頁面的資訊。Control developers extending the functionality of the Page class can override the InitializeCulture method to initialize the Culture and UICulture information for the page.

適用於

另請參閱