Rune.Utf16SequenceLength Property

Definition

Gets the length in code units (Char) of the UTF-16 sequence required to represent this scalar value.

C#
public int Utf16SequenceLength { get; }

Property Value

The length in code units (Char) of the UTF-16 sequence required to represent this scalar value.

Remarks

The return value will be 1 or 2.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9