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
[<System.ComponentModel.Browsable(false)>]
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.

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