共用方式為


NavigationWindow.Refresh 方法

定義

重新載入目前的內容。

public:
 virtual void Refresh();
public:
 void Refresh();
public void Refresh ();
abstract member Refresh : unit -> unit
override this.Refresh : unit -> unit
member this.Refresh : unit -> unit
Public Sub Refresh ()

範例

下列範例示範如何呼叫 Refresh 方法來重載 中 NavigationWindow 的內容。

void navigateRefreshButton_Click(object sender, RoutedEventArgs e)
{
    this.Refresh();
}
Private Sub navigateRefreshButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    Me.Refresh()
End Sub

備註

請參閱 NavigationService.Refresh

適用於