Compartir a través de


RegionRestrictedSet.IsRegionAllowed(Int32) Method

Definition

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.

Applies to