Walter.BOM
GetCountryName(GeoLocation) Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > GeoLocationMapping Class > GetCountryName Method : GetCountryName(GeoLocation) Method
The location to look for
Returns the country name associated with a GeoLocation using the UI culture of the current thread to determine the language
Syntax
public static string GetCountryName( 
   GeoLocation location
)

Parameters

location
The location to look for

Return Value

The country name
Remarks
If the location is not a country but GeoLocation.UnKnown a Region the region will ToString representation will be used
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GeoLocationMapping Class
GeoLocationMapping Members
Overload List
TryGetCountryName Method
GetInternationalCountryName(String,GeoLocation) Method
GetInternationalCountryName(CultureInfo,GeoLocation) Method
GetInternationalCountryName(GeoLocation) Method