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.

适用于

另请参阅