語言

ViewGroup.ChildCount 屬性

定義

返回該群組中的兒童數量。

public virtual int ChildCount { [Android.Runtime.Register("getChildCount", "()I", "GetGetChildCountHandler")] get; }
[<get: Android.Runtime.Register("getChildCount", "()I", "GetGetChildCountHandler")>]
member this.ChildCount : int

屬性值

一個正整數代表該群中兒童的數量

屬性

備註

返回該群組中的兒童數量。

Java 文件 android.view.ViewGroup.getChildCount()。

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

適用於