Click or drag to resize

CountryToStringToString Method (Country)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets a well-formatted name for any given Country

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public static string ToString(
	Country country
)

Parameters

country
Type: Telogis.GeoBaseCountry
The Country to get name for

Return Value

Type: String
A string containing the Country name eg "Trinidad and Tobago"
Remarks
It is mostly possible to use the ToString() method of the Country enum, but for display purposes this is not suitable, as some countries like "Bosnia and Herzegovina" have an enum ToString of "BosniaAndHerzegovina". In all cases this method will return the country correctly, ie "Bosnia and Herzegovina".
See Also