Rediger

Del via


UnicodeRange(Int32, Int32) Constructor

Definition

Creates a new UnicodeRange that includes a specified number of characters starting at a specified Unicode code point.

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)

Parameters

firstCodePoint
Int32

The first code point in the range.

length
Int32

The number of code points in the range.

Exceptions

firstCodePoint is less than zero or greater than 0xFFFF.

-or-

length is less than zero.

-or-

firstCodePoint plus length is greater than 0xFFFF.

Remarks

Any undefined code points between firstCodePoint and firstCodePoint + length - 1 are included in the UnicodeRange instance created by calling this constructor.

Applies to