Editar

Compartir vía


UnicodeRange Class

Definition

Represents a contiguous range of Unicode code points.

public ref class UnicodeRange sealed
public sealed class UnicodeRange
type UnicodeRange = class
Public NotInheritable Class UnicodeRange
Inheritance
UnicodeRange

Remarks

You use the static Create method or the UnicodeRange constructor to create a an arbitrary range of Unicode code points. You use the static properties of the UnicodeRanges class to retrieve a UnicodeRange instance that contains the code points in a Unicode named range.

Currently, the UnicodeRange class supports only the Basic Multilingual Plane (BMP), which extends from U+0000 to U+FFFF.

Constructors

UnicodeRange(Int32, Int32)

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

Properties

FirstCodePoint

Gets the first code point in the range represented by this UnicodeRange instance.

Length

Gets the number of code points in the range represented by this UnicodeRange instance.

Methods

Create(Char, Char)

Creates a new UnicodeRange instance from a span of characters.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to