Table of Contents

HasRegionInfo Method

Definition

HasRegionInfo(StatisticalRegionInfo)

Determines whether the specified country has a .NET RegionInfo available.

public static bool HasRegionInfo(this StatisticalRegionInfo region)

Parameters

region StatisticalRegionInfo

The region to check.

Returns

bool

true if the region is a country and has OS-level RegionInfo support; otherwise, false.

Exceptions

ArgumentNullException

region is null.