共用方式為


RegionRestrictedSet.DisallowRegions(Int32[]) Method

Definition

Specifies a list of regions that are blacked out.

public void DisallowRegions (int[] regionNumbers);
member this.DisallowRegions : int[] -> unit
Public Sub DisallowRegions (regionNumbers As Integer())

Parameters

regionNumbers
Int32[]

The region numbers to be blacked out.

Exceptions

Thrown if any value in regionNumbers is already disallowed.

Remarks

This method is an optimized version of DisallowRegion(Int32) that can be used when blacked out regions are sparse (such as 1, 3, 5, 7, 9, 11, and so on) to reduce the number of calls to DisallowRegion.

Applies to