Gets an Microsoft.SharePoint.Navigation.SPNavigationNodeCollection object that contains the nodes that correspond with links in the top navigation bar of the site.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property ValueType: Microsoft.SharePoint.Navigation.SPNavigationNodeCollection
Returns an Microsoft.SharePoint.Navigation.SPNavigationNodeCollection object. Returns a null reference (Nothing in Visual Basic) if the top navigation area is defined in a different site, or if the top navigation bar node collection has been deleted.
An exception is thrown if the user tries to set the node collection for a Web site that inherits navigation.
Setting a node collection takes effect immediately, and no call to the Update method is required.