Rune.Utf16SequenceLength Property

Definition

获取表示此标量值所需的 UTF-16 序列的代码单元 (Char) 中的长度。Gets the length in code units (Char) of the UTF-16 sequence required to represent this scalar value.

public:
 property int Utf16SequenceLength { int get(); };
public int Utf16SequenceLength { get; }
member this.Utf16SequenceLength : int
Public ReadOnly Property Utf16SequenceLength As Integer

Property Value

Int32

表示此标量值所需的 UTF-16 序列的长度(以代码单位(Char)为单位)。The length in code units (Char) of the UTF-16 sequence required to represent this scalar value.

Remarks

返回值将为1或2。The return value will be 1 or 2.

Applies to