Click or drag to resize
CountryInfoProviderGetCountryInfo Method (Int32)

Note: This API is now obsolete.

Returns the CountryInfo structure for the specified country.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ICountryInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - CountryInfo.Provider.")]
public static CountryInfo GetCountryInfo(
	int countryId
)

Parameters

countryId
Type: SystemInt32
Country id

Return Value

Type: CountryInfo
See Also