Shell.GoToAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GoToAsync(ShellNavigationState) | |
GoToAsync(ShellNavigationState, Boolean) |
Passa in modo asincrono a , facoltativamente animando. |
GoToAsync(ShellNavigationState)
public System.Threading.Tasks.Task GoToAsync (Xamarin.Forms.ShellNavigationState state);
member this.GoToAsync : Xamarin.Forms.ShellNavigationState -> System.Threading.Tasks.Task
Parametri
- state
- ShellNavigationState
Restituisce
Si applica a
GoToAsync(ShellNavigationState, Boolean)
Passa in modo asincrono a , facoltativamente animando.
public System.Threading.Tasks.Task GoToAsync (Xamarin.Forms.ShellNavigationState state, bool animate);
member this.GoToAsync : Xamarin.Forms.ShellNavigationState * bool -> System.Threading.Tasks.Task
Parametri
- state
- ShellNavigationState
- animate
- Boolean
Restituisce
Commenti
Si noti che ShellNavigationState include conversioni implicite da string
e Uri, quindi gli sviluppatori possono scrivere codice come il seguente, senza creare istanze esplicite di ShellNavigationState:
await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");