語言

StringBuilder.CodePointBefore(Int32) 方法

定義

取得 Unicode 碼點值,該值位於 index. 之前。

[Android.Runtime.Register("codePointBefore", "(I)I", "")]
public override int CodePointBefore(int index);
[<Android.Runtime.Register("codePointBefore", "(I)I", "")>]
override this.CodePointBefore : int -> int

參數

index
Int32

此物件內程式碼單元的索引 char

傳回

Unicode 代碼指向指定索引之前。

屬性

例外狀況

如果 index 小於 1 或大於 Length()

備註

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

適用於

另請參閱

  • Character
  • <xref:Java.Lang.Character.CodePointBefore(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>