Home Property

       

Returns a read-only HomeNavigationNode object for the NavigationNode object.

Example

This example searches for a navigation node with the label "Sale", and then updates it.

Private Sub ChangeNavLabel()
    Dim myFiles As WebFiles
    Dim myFile As WebFile

    Set myFiles = ActiveWeb.RootFolder.Files

    For Each myFile In myFiles
        If myFile.NavigationNode.Home.Label = "Sale" Then
            myFile.NavigationNode.Home.Label = "Sales Items"
        End If
    Next
End Sub