Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TextInfo.LCID Property

Note: This property is new in the .NET Framework version 2.0.

Gets the culture identifier for the culture associated with the current TextInfo object.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)] 
public int LCID { get; }
/** @property */
public int get_LCID ()

public function get LCID () : int

Property Value

A number that identifies the culture that the current TextInfo object was created from.

Locale identifier (LCID) is another name for culture identifier.

The LCID property is meaningful for a TextInfo object derived from a specific culture, but not for an object derived from a neutral culture. Consequently, the LCID property that corresponds to a neutral culture returns the LCID of an arbitrary specific culture that uses the same language rather than the LCID of the neutral culture. For example, the CultureInfo.LCID property returns 0x0009 for the English (en) neutral culture, but the corresponding LCID property might return 0x0409 for the English-United States (en-US) specific culture.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.