Children Property Example

This 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