Children 属性

       

返回导航节点的子导航节点集合。只读,NavigationNodes 对象。

示例

本示例返回紧跟在主页导航节点之下的子节点数目。

Private Sub GetChildrenCount()
    Dim myCount As Integer

    myCount = ActiveWeb.HomeNavigationNode.Children.Count
End Sub