NavigationNode Property

       

Returns the current NavigationNode object in the navigation structure for the WebFile object.

Remarks

If a NavigationNode is not found within the current FrontPage-based web navigation structure, the NavigationNode property returns Null.

Example

This example uses the NavigationNode property to return the file name associated with the navigation node.

Private Sub GetNavNode()
	Dim myWeb As WebEx
	Dim myNavNode As NavigationNode
	Dim myNavNodeLabel As String

	Set myWeb = ActiveWeb
	Set myNavNode = _
    		myWeb.RootNavigationNode.Files(0).NavigationNode

	With myNavNode
    		myNavNodeLabel = .Label
	End With
End Sub