Iso3166FromAlpha2 Method

Looks up the country represented by the alpha2 parameter.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static Iso3166Country FromAlpha2(
	string alpha2
)

Parameters

alpha2  String
Country Alpha2 code. Parameter is not case-sensitive.

Return Value

Iso3166Country
The country representing the alpha2 code

Exceptions

ArgumentNullException
InvalidOperationExceptionNo element satisfies the condition in alpha2

See Also