返回导航序列中的前一个导航节点。只读。
本示例将导航指针移到前一个节点,除非当前节点是导航结构中这一级的第一个节点。
Private Sub MovePrev()
Dim theNode as NavigationNode
Dim thePrevNode as NavigationNode
On Error Resume Next
Set theNode = ActiveWeb.HomeNavigationNode.Children(1)
Set thePrevNode = theNode.Prev
If Err <> 0 Then
MsgBox 揟he current navigation level starts here.?
End If
End Sub