This documentation is archived and is not being maintained.

HttpSessionState.LCID Property

Gets or sets the locale identifier (LCID) of the current session.

[Visual Basic]
Public Property LCID As Integer
public int LCID {get; set;}
public: __property int get_LCID();
public: __property void set_LCID(int);
public function get LCID() : int;
public function set LCID(int);

Property Value

A CultureInfo value indicating the culture of the current session.


The LCID property is provided for compatibility with earlier versions of ASP only. If you do not need to maintain backward compatibility with ASP pages, use LCID instead.

ASP.NET does not store LCID in session state. This property calls LCID to get and set LCID.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace