Operator implicit operator
implicit operator LocaleIdentifier(string)
Create a LocaleIdentifier from a culture code string.
Declaration
public static implicit operator LocaleIdentifier(string code)
Parameters
Type |
Name |
Description |
string |
code |
|
Returns
implicit operator LocaleIdentifier(CultureInfo)
Create a LocaleIdentifier from a CultureInfo instance.
Declaration
public static implicit operator LocaleIdentifier(CultureInfo culture)
Parameters
Returns
Exceptions
implicit operator LocaleIdentifier(SystemLanguage)
Declaration
public static implicit operator LocaleIdentifier(SystemLanguage systemLanguage)
Parameters
Returns