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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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