Page.InitializeCulture 方法

定義

設定頁面目前執行緒的 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.

適用於

另請參閱