.NET Framework Class Library
Page..::.InitializeCulture Method

Updated: November 2007

Sets the Culture and UICulture for the current thread of the page.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Visual Basic (Declaration)
Protected Overridable Sub InitializeCulture
Visual Basic (Usage)
Me.InitializeCulture()
C#
protected virtual void InitializeCulture()
Visual C++
protected:
virtual void InitializeCulture()
J#
protected void InitializeCulture()
JScript
protected function InitializeCulture()

The InitializeCulture method contains no coding logic. Control developers extending the functionality of the Page class can override the InitializeCulture method to initialize the Culture and UICulture information for the page.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Page view tracker