共用方式為


IExpandableListAdapter.GetChildrenCount(Int32) Method

Definition

Gets the number of children in a specified group.

[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

Parameters

groupPosition
Int32

the position of the group for which the children count should be returned

Returns

the children count in the specified group

Attributes

Remarks

Gets the number of children in a specified group.

Java documentation for android.widget.ExpandableListAdapter.getChildrenCount(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to