IsCountryOrTerritory Method
Definition
- Namespace
- Cuemon.Extensions.Globalization
- Assemblies
- Cuemon.Extensions.Core.dll
IsCountryOrTerritory(StatisticalRegionInfo)
Determines whether the specified region is a country or territory.
public static bool IsCountryOrTerritory(this StatisticalRegionInfo region)
Parameters
regionStatisticalRegionInfoThe region to check.
Returns
- bool
trueif the region is a CountryOrTerritory; otherwise,false.
Exceptions
- ArgumentNullException
regionisnull.