Children Property

Microsoft FrontPage Visual Basic

Returns a NavigationNodes collection that represents the collection of child nodes for a navigation node.

expression.Children

expression    Required. An expression that returns a NavigationNode object.

Example

The following example returns the number of child nodes that exist directly below the home page navigation node.

Private Sub GetChildrenCount()
    Dim myCount As Integer

    myCount = ActiveWeb.HomeNavigationNode.Children.Count
End Sub