| CultureInfoExtensionsGetCultureInfo Method (Int32) |
Returns the culture which corresponds to the specified LCID. If the LCID is unknown or
invalid, an exception is thrown. Note that this will also be the case for custom cultures,
which seem to always get the same LCID (4096).
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static CultureInfo GetCultureInfo(
int lcid
)
Public Shared Function GetCultureInfo (
lcid As Integer
) As CultureInfo
public:
static CultureInfo^ GetCultureInfo(
int lcid
)
static member GetCultureInfo :
lcid : int -> CultureInfo
Parameters
- lcid
- Type: SystemInt32
The locale identifier (lcid)
Return Value
Type:
CultureInfoA CultureInfo object, or throws for unknown LCIDs.
See Also
Comments