Share via


NavigationNode Property

Returns a NavigationNode object that represents the current node in the navigation structure.

expression.NavigationNode

*expression   * Required. An expression that returns a WebFile object.

Remarks

If a NavigationNode is not found within the navigation structure for the specified Web site, the NavigationNode property returns Null.

Example

The following 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

Applies to | WebFile Object