語言

FormEditRecord.GetSelectedIndices 方法

定義

取得選取的選擇小工具索引,用於集合索引的編輯,或為其他編輯類型取得空陣列。

[Android.Runtime.Register("getSelectedIndices", "()[I", "", ApiSince=35)]
public int[] GetSelectedIndices();
[<Android.Runtime.Register("getSelectedIndices", "()[I", "", ApiSince=35)>]
member this.GetSelectedIndices : unit -> int[]

傳回

Int32[]

如果該紀錄型別為 #EDIT_TYPE_SET_INDICES,則選擇在 Choice 小工具中選取的索引,否則為空陣列

屬性

備註

Java 文件 FormEditRecord。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於