UnicodeSet.CharAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳該集合中給定索引的字元,該集合依遞增碼點排序。
[Android.Runtime.Register("charAt", "(I)I", "GetCharAt_IHandler", ApiSince=24)]
public virtual int CharAt(int index);
[<Android.Runtime.Register("charAt", "(I)I", "GetCharAt_IHandler", ApiSince=24)>]
abstract member CharAt : int -> int
override this.CharAt : int -> int
參數
- index
- Int32
從 0..size()-1 的索引
傳回
以給定索引的字元,或 -1。
- 屬性
備註
回傳該集合中給定索引的字元,該集合依遞增碼點排序。 若索引超出範圍,回傳 -1。 此方法的反函數為 indexOf()。
Java 文件 android.icu.text.UnicodeSet.charAt(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。