語言

StringBuffer.OffsetByCodePoints(Int32, Int32) 方法

定義

新增 1.

[Android.Runtime.Register("offsetByCodePoints", "(II)I", "")]
public override int OffsetByCodePoints(int index, int codePointOffset);
[<Android.Runtime.Register("offsetByCodePoints", "(II)I", "")>]
override this.OffsetByCodePoints : int * int -> int

參數

index
Int32

用來計算偏移量的指數。

codePointOffset
Int32

需要計算的代碼點數。

傳回

索引偏移量為指定數量的 Unicode 碼點。

屬性

備註

已在1.5中新增。

Java 文件 java.lang.StringBuffer.offsetByCodePoints(int, int)。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於