Walter.BOM
GetCountryName(Nullable<GeoLocation>) Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > GeoLocationMapping Class > GetCountryName Method : GetCountryName(Nullable<GeoLocation>) Method
The location to look for
Returns the country name associated with a GeoLocation
Syntax
public static string GetCountryName( 
   Nullable<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
LocationTable Property