語言

StringBuilder.CodePointAt(Int32) 方法

定義

取得 Unicode 碼點值於 index。

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

參數

index
Int32

代碼單元的 char 索引。

傳回

Unicode 程式碼指向指定的索引。

屬性

例外狀況

若 index 為負或大於或大於 。Length()

備註

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

適用於

另請參閱

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