Page.LCID Page.LCID Page.LCID Page.LCID Property

Definition

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

public:
 property int LCID { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public int LCID { get; set; }
member this.LCID : int with get, set
Public Property LCID As Integer

Property Value

The locale identifier to pass to the Thread.

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