語言

IExpandableListAdapter.GetGroupId(Int32) 方法

定義

取得該職位群組的識別碼。

[Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetGroupId(int groupPosition);
[<Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetGroupId : int -> int64

參數

groupPosition
Int32

需要該身份證的群組位置

傳回

與該群組對應的 ID

屬性

備註

取得該職位群組的識別碼。 這個群組識別必須在不同群組間是唯一的。 合併的 ID(參見 #getCombinedGroupId(long))必須在所有項目(群組和所有子項目)中是唯一的。

Java 文件 android.widget.ExpandableListAdapter.getGroupId(int)。

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

適用於