Click or drag to resize

StatisticsGetCountry Method

Returns country information by the given country code.

Namespace:  Dynamicweb.Analytics.Leads.LeadsStatistic
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static CountryInfo GetCountry(
	string code
)

Parameters

code
Type: SystemString
Country code.

Return Value

Type: CountryInfo
Country information or null (Nothing in Visual Basic) if country information cannot be resolved.
Exceptions
ExceptionCondition
ArgumentNullExceptioncode is null.
ArgumentExceptioncode is an empty string.
Remarks