LCID Property
Collapse the table of content
Expand the table of content

Page.LCID Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the locale identifier for the Thread object associated with the page.

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

public int LCID { get; set; }

Property Value

Type: System.Int32

The locale identifier to pass to the Thread.

In most circumstances, do not set this property in code. The LCID attribute can be set in the directive of the .aspx file, however, the preferred method of setting the locale identifier is through the use of the Culture and UICulture properties.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft