Click or drag to resize
TransformationHelperGetCountryDisplayName Method
Returns country displayname based on its codename.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
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: Object
See Also