Table of Contents

IsCountryOrTerritory Method

Definition

IsCountryOrTerritory(StatisticalRegionInfo)

Determines whether the specified region is a country or territory.

public static bool IsCountryOrTerritory(this StatisticalRegionInfo region)

Parameters

region StatisticalRegionInfo

The region to check.

Returns

bool

true if the region is a CountryOrTerritory; otherwise, false.

Exceptions

ArgumentNullException

region is null.