HasRegionInfo Method
Definition
- Namespace
- Cuemon.Extensions.Globalization
- Assemblies
- Cuemon.Extensions.Core.dll
HasRegionInfo(StatisticalRegionInfo)
Determines whether the specified country has a .NET RegionInfo available.
public static bool HasRegionInfo(this StatisticalRegionInfo region)
Parameters
regionStatisticalRegionInfoThe region to check.
Returns
- bool
trueif the region is a country and has OS-level RegionInfo support; otherwise,false.
Exceptions
- ArgumentNullException
regionisnull.