Walter.BOM
TryGetIsoCode Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > GeoLocationMapping Class : TryGetIsoCode Method
The geographic enum value to translate
The 2 letter ISO code
Get the 2 letter ISO code for a given country
Syntax
public static bool TryGetIsoCode( 
   GeoLocation country,
   out string isoCode
)

Parameters

country
The geographic enum value to translate
isoCode
The 2 letter ISO code

Return Value

True if country code was set
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