Walter.BOM
TryGetValue(ReadOnlySpan<Char>,GeoLocation) Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > GeoLocationMapping Class > TryGetValue Method : TryGetValue(ReadOnlySpan<Char>,GeoLocation) Method
The 2 letter ISO code.
The country.
Tries to get the country code from a 2 letter ISO string.
Syntax
public static bool TryGetValue( 
   ReadOnlySpan<char> IsoCode,
   out GeoLocation country
)

Parameters

IsoCode
The 2 letter ISO code.
country
The country.

Return Value

true if found the country code is populated, false otherwise.
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