語言

IExpandableListAdapter.GetChildrenCount(Int32) 方法

定義

取得指定群組中子女數量。

[Android.Runtime.Register("getChildrenCount", "(I)I", "GetGetChildrenCount_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetChildrenCount(int groupPosition);
[<Android.Runtime.Register("getChildrenCount", "(I)I", "GetGetChildrenCount_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetChildrenCount : int -> int

參數

groupPosition
Int32

應返回子嗣所屬群組的排名

傳回

子節點在指定的群組中計數

屬性

備註

取得指定群組中子女數量。

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

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

適用於