跳到主要内容

child_count

获取子节点数量

声明

int child_count()

参数

参数名描述

返回值

子节点数量

使用方式

返回文档