Shell.GoToAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>) |
Navigiert asynchron zu |
GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters) |
Diese Methode navigiert zu einem ShellNavigationState und gibt ein zurück Task. |
GoToAsync(ShellNavigationState, IDictionary<String,Object>) | |
GoToAsync(ShellNavigationState, ShellNavigationQueryParameters) |
Diese Methode navigiert zu einem ShellNavigationState und gibt eine Task zurück, die nach der Navigationsanimation abgeschlossen wird. |
GoToAsync(ShellNavigationState) | |
GoToAsync(ShellNavigationState, Boolean) |
Navigiert asynchron zu |
GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
Navigiert asynchron zu state
, optional animiert.
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state, bool animate, System.Collections.Generic.IDictionary<string,object> parameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean, parameters As IDictionary(Of String, Object)) As Task
Parameter
- state
- ShellNavigationState
- animate
- Boolean
- parameters
- IDictionary<String,Object>
Gibt zurück
Hinweise
Beachten Sie, dass ShellNavigationState implizite Konvertierungen von string
und Uriaufweist, sodass Entwickler Code wie den folgenden schreiben können, ohne explizite Instanziierung von ShellNavigationState:
await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");
Gilt für:
GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
Diese Methode navigiert zu einem ShellNavigationState und gibt ein zurück Task.
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate, Microsoft::Maui::Controls::ShellNavigationQueryParameters ^ shellNavigationQueryParameters);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state, bool animate, Microsoft.Maui.Controls.ShellNavigationQueryParameters shellNavigationQueryParameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool * Microsoft.Maui.Controls.ShellNavigationQueryParameters -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean, shellNavigationQueryParameters As ShellNavigationQueryParameters) As Task
Parameter
- state
- ShellNavigationState
Definiert den Pfad, zu dem Shell navigieren soll.
- animate
- Boolean
Gibt an, ob Ihr Übergang animiert ist
- shellNavigationQueryParameters
- ShellNavigationQueryParameters
Parameter, die für diesen spezifischen Navigationsvorgang verwendet werden sollen.
Gibt zurück
Gilt für:
GoToAsync(ShellNavigationState, IDictionary<String,Object>)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state, System.Collections.Generic.IDictionary<string,object> parameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, parameters As IDictionary(Of String, Object)) As Task
Parameter
- state
- ShellNavigationState
- parameters
- IDictionary<String,Object>
Gibt zurück
Gilt für:
GoToAsync(ShellNavigationState, ShellNavigationQueryParameters)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
Diese Methode navigiert zu einem ShellNavigationState und gibt eine Task zurück, die nach der Navigationsanimation abgeschlossen wird.
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, Microsoft::Maui::Controls::ShellNavigationQueryParameters ^ shellNavigationQueryParameters);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state, Microsoft.Maui.Controls.ShellNavigationQueryParameters shellNavigationQueryParameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * Microsoft.Maui.Controls.ShellNavigationQueryParameters -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, shellNavigationQueryParameters As ShellNavigationQueryParameters) As Task
Parameter
- state
- ShellNavigationState
Definiert den Pfad, zu dem Shell navigieren soll.
- shellNavigationQueryParameters
- ShellNavigationQueryParameters
Parameter, die für diesen spezifischen Navigationsvorgang verwendet werden sollen.
Gibt zurück
Gilt für:
GoToAsync(ShellNavigationState)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState) As Task
Parameter
- state
- ShellNavigationState
Gibt zurück
Gilt für:
GoToAsync(ShellNavigationState, Boolean)
- Quelle:
- Shell.cs
- Quelle:
- Shell.cs
Navigiert asynchron zu state
, optional animiert.
public:
System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate);
public System.Threading.Tasks.Task GoToAsync (Microsoft.Maui.Controls.ShellNavigationState state, bool animate);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean) As Task
Parameter
- state
- ShellNavigationState
- animate
- Boolean
Gibt zurück
Hinweise
Beachten Sie, dass ShellNavigationState implizite Konvertierungen von string
und Uriaufweist, sodass Entwickler Code wie den folgenden schreiben können, ohne explizite Instanziierung von ShellNavigationState:
await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");