TransformationHelperGetCountryDisplayName Method |
Returns country displayname based on its codename.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax public Object GetCountryDisplayName(
string countryCode,
bool appendState = true,
string format = null
)
Parameters
- countryCode
- Type: SystemString
Code name of country - appendState (Optional)
- Type: SystemBoolean
If true, state code is appended to country name - format (Optional)
- Type: SystemString
Format for appending state to country. Default format is '{state}, {country}'
Return Value
Type:
ObjectSee Also