Page.LCID Property


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

 property int LCID {  void set(int value); };
 property int LCID { int get(); void set(int value); };
protected int LCID { set; }
public int LCID { get; set; }
member this.LCID : int
member this.LCID : int with get, set
Protected Property LCID As Integer
Public Property LCID As Integer

Property Value

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 @ Page directive of the .aspx file, however, the preferred method of setting the locale identifier is through the use of the Culture and UICulture properties.

Applies to

See also