Page.LCID Property

Definition

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

protected:
 property int LCID {  void set(int value); };
public:
 property int LCID { int get(); void set(int value); };
protected int LCID { set; }
[System.ComponentModel.Browsable(false)]
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

Int32

The locale identifier to pass to the Thread.

Attributes

Remarks

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