Method GetValueAsString
GetValueAsString(LocaleIdentifier)
Returns the value for the LocaleIdentifier as a string representation.
Declaration
public string GetValueAsString(LocaleIdentifier localeIdentifier)
Parameters
Type | Name | Description |
---|---|---|
LocaleIdentifier | localeIdentifier | The LocaleIdentifier whose variant should be returned. |
Returns
Type | Description |
---|---|
string | The variants value a string or null if an override does not exist for the LocaleIdentifier. |
Implements
GetValueAsString(LocaleIdentifier, LocaleIdentifier)
Returns the value for the LocaleIdentifier as a string representation, uses the fallback if a variant does not exist.
Declaration
public string GetValueAsString(LocaleIdentifier localeIdentifier, LocaleIdentifier fallback)
Parameters
Type | Name | Description |
---|---|---|
LocaleIdentifier | localeIdentifier | The LocaleIdentifier whose variant should be returned. |
LocaleIdentifier | fallback | If no variant exists for the LocaleIdentifier then the fallback will be used. |
Returns
Type | Description |
---|---|
string | The variant or fallback value a string or null if an override could not be found. |