Maps the culture code string into the corresponding language ID in the
database. In case there is no language defined in the systen with the
passed code, -1 (NullInteger) is returned.
Namespace: DotNetNuke.Services.LocalizationAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static int GetCultureLanguageID( string cultureCode ) |
Visual Basic |
---|
Public Shared Function GetCultureLanguageID ( cultureCode As String ) As Integer |
Parameters
- cultureCode
- Type: System..::..String
The culture to get the language ID for.