TransformationHelperGetCountryDisplayName Method |
Returns country displayname based on its codename.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.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