NavigationService.GoForward 메서드

정의

전방 탐색 기록(있는 경우)에서 최신 항목을 탐색합니다.

public:
 void GoForward();
public void GoForward ();
member this.GoForward : unit -> unit
Public Sub GoForward ()

예외

전방 탐색 기록에 항목이 없을 때 GoForward()가 호출된 경우

예제

다음 예제에서는 있을 경우 전방 탐색 기록에서 가장 최근 항목으로 이동 합니다.

void forwardButton_Click(object sender, RoutedEventArgs e)
{
    if (this.NavigationService.CanGoForward)
    {
        this.NavigationService.GoForward();
    }
}
Private Sub forwardButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    If Me.NavigationService.CanGoForward Then
        Me.NavigationService.GoForward()
    End If
End Sub

설명

호출 하기 전에 GoForward, CanGoForward 전방 탐색 기록에 항목이 있는지 여부를 확인 하려면 속성을 검사할 수 있습니다.

적용 대상

추가 정보