共用方式為


NavigationPage.PopToRootAsync Method

Definition

Overloads

PopToRootAsync(Boolean)

A task for asynchronously popping all pages off of the navigation stack.

PopToRootAsync()

Pops all but the root Page off the navigation stack.

PopToRootAsync(Boolean)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

A task for asynchronously popping all pages off of the navigation stack.

public:
 System::Threading::Tasks::Task ^ PopToRootAsync(bool animated);
public System.Threading.Tasks.Task PopToRootAsync (bool animated);
member this.PopToRootAsync : bool -> System.Threading.Tasks.Task
Public Function PopToRootAsync (animated As Boolean) As Task

Parameters

animated
Boolean

Returns

Applies to

PopToRootAsync()

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Pops all but the root Page off the navigation stack.

public:
 System::Threading::Tasks::Task ^ PopToRootAsync();
public System.Threading.Tasks.Task PopToRootAsync ();
member this.PopToRootAsync : unit -> System.Threading.Tasks.Task
Public Function PopToRootAsync () As Task

Returns

A task that represents the asynchronous dismiss operation.

Applies to