Click or drag to resize

CountrySourceGetDataItem Method (String)

Returns country information by the given country code.

Namespace:  Dynamicweb.Analytics.Model
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static CountrySourceCountrySourceDataItem GetDataItem(
	string code
)

Parameters

code
Type: SystemString
Country code.

Return Value

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