RootNavigationNode Property
Returns a NavigationNode object that represents the top-level navigation node.
expression.RootNavigationNode()
*expression * Required. An expression that returns a WebEx object.
Remarks
You can use the RootNavigationNode property to determine the root navigation node. The RootNavigationNode property returns the NavigationNode object from which you can access all other navigation nodes in a Web site. The RootNavigationNode object is created by default when you create a Web site and provides the basis for the navigation structure, which is accessed through the Children collection. The first child node of the navigation structure is the home page of the Web site.
Example
The following example adds a global navigation node to the right of the home navigation node.
Private Sub AddNode()
Dim myRNode As NavigationNode
Dim myPage As String
Set myRNode = ActiveWeb.RootNavigationNode
myPage = "http://myServer/myWeb/search.htm"
Call myRNode.Children.Add(myPage, "Search", _
fpStructRightmostChild)
ActiveWeb.ApplyNavigationStructure
End Sub
Applies to | WebEx Object