Gets the culture identifier for the culture associated with the current TextInfo object.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <ComVisibleAttribute(False)> _ Public ReadOnly Property LCID As Integer 'Usage Dim instance As TextInfo Dim value As Integer value = instance.LCID
Certain predefined culture names and identifiers are accepted and used by this and other classes in the System.Globalization namespace, as well as the Windows API. The detailed culture information is defined in the NLS information page at the Go Global Developer Center (http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx.
The property always reflects a specific culture identifier instead of a neutral culture identifier. If CultureInfo.LCID is set to a neutral culture identifier, the corresponding has as its value an arbitrary specific culture identifier that uses the same language. For example, the CultureInfo.LCID property returns 0x0009 for the English neutral culture, named "en". However, the corresponding property might return 0x0409 for the English (United States) culture, named en-US.
Similarly, the property always corresponds to a default sort order, and never reflects a specific sort order. For example, the default sort order for Spanish (Spain) is the international sort order. If CultureInfo.LCID is set to "0x040A" (Spanish with the traditional sort order), the corresponding value is "0x0C0A" (Spanish with the default international sort order).
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.