UnicodeRange(Int32, Int32) 构造函数

定义

创建一个新 UnicodeRange 值,其中包含从指定 Unicode 代码点开始的指定数量的字符。

public:
 UnicodeRange(int firstCodePoint, int length);
public UnicodeRange(int firstCodePoint, int length);
new System.Text.Unicode.UnicodeRange : int * int -> System.Text.Unicode.UnicodeRange
Public Sub New (firstCodePoint As Integer, length As Integer)

参数

firstCodePoint
Int32

区域中的第一个代码点。

length
Int32

区域中的代码点数。

例外

firstCodePoint 小于零或大于0xFFFF。

-或-

length 小于零。

-或-

firstCodePointlength 号大于0xFFFF。

注解

通过调用此构造函数创建的实例中包含任何未定义的代码点firstCodePointlengthfirstCodePoint + - 1。UnicodeRange

适用于