| LanguageRegistryApiGetLanguage Method (String, String) |
Gets a language based on an alternative code and product ID
Namespace: Sdl.Core.Globalization.LanguageRegistryAssembly: Sdl.Core.Globalization (in Sdl.Core.Globalization.dll) Version: 1.8.0.0 (1.8.2687.0)
Syntaxpublic Language GetLanguage(
string alternativeLanguageCode,
string productId
)
Public Function GetLanguage (
alternativeLanguageCode As String,
productId As String
) As Language
public:
Language^ GetLanguage(
String^ alternativeLanguageCode,
String^ productId
)
member GetLanguage :
alternativeLanguageCode : string *
productId : string -> Language
Parameters
- alternativeLanguageCode
- Type: SystemString
Searched alternative code - productId
- Type: SystemString
Searched product ID
Return Value
Type:
LanguageLanguage that has the given alternative code for the given product
See Also
Comments