RegionRestrictedSet.IsRegionAllowed(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queries whether a specific region is allowed (not blacked out)
public bool IsRegionAllowed (int regionNumber);
member this.IsRegionAllowed : int -> bool
Public Function IsRegionAllowed (regionNumber As Integer) As Boolean
Parameters
- regionNumber
- Int32
The region number to check.
Returns
true
if the region is allowed (not blacked out); otherwise, false
.
Exceptions
Thrown if regionNumber
is less than zero or greater than or equal to the NumberOfRegionsInSet
in the SourceRegionSet.