共用方式為


INavigation.PushAsync 方法

定義

多載

PushAsync(Page)
PushAsync(Page, Boolean)

PushAsync(Page)

public:
 System::Threading::Tasks::Task ^ PushAsync(Microsoft::Maui::Controls::Page ^ page);
public System.Threading.Tasks.Task PushAsync (Microsoft.Maui.Controls.Page page);
abstract member PushAsync : Microsoft.Maui.Controls.Page -> System.Threading.Tasks.Task
Public Function PushAsync (page As Page) As Task

參數

page
Page

傳回

適用於

PushAsync(Page, Boolean)

public:
 System::Threading::Tasks::Task ^ PushAsync(Microsoft::Maui::Controls::Page ^ page, bool animated);
public System.Threading.Tasks.Task PushAsync (Microsoft.Maui.Controls.Page page, bool animated);
abstract member PushAsync : Microsoft.Maui.Controls.Page * bool -> System.Threading.Tasks.Task
Public Function PushAsync (page As Page, animated As Boolean) As Task

參數

page
Page
animated
Boolean

傳回

適用於