UnicodeRange(Int32, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個包含指定字元數量的新文件 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 小於零。
-或-
firstCodePoint plus length 大於 0xFFFF。
備註
介於 和lengthfirstCodePoint + - 1 之間的firstCodePoint任何未定義代碼點,皆包含在UnicodeRange呼叫此建構子所建立的實例中。