语言

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()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于