Shell.GoToAsync 메서드

정의

오버로드

GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>)

필요에 따라 으로 비동기적으로 이동합니다 state.

GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters)

이 메서드는 로 이동하고 ShellNavigationState 를 반환합니다 Task.

GoToAsync(ShellNavigationState, IDictionary<String,Object>)
GoToAsync(ShellNavigationState, ShellNavigationQueryParameters)

이 메서드는 으로 이동하고 ShellNavigationState 탐색 애니메이션이 Task 완료되면 완료되는 을 반환합니다.

GoToAsync(ShellNavigationState)
GoToAsync(ShellNavigationState, Boolean)

필요에 따라 으로 비동기적으로 이동합니다 state.

GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>)

필요에 따라 으로 비동기적으로 이동합니다 state.

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

매개 변수

animate
Boolean
parameters
IDictionary<String,Object>

반환

설명

ShellNavigationStateUri에서 string 암시적 변환이 있으므로 개발자는 의 명시적 인스턴스화 ShellNavigationState없이 다음과 같은 코드를 작성할 수 있습니다.

await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");

적용 대상

GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters)

이 메서드는 로 이동하고 ShellNavigationState 를 반환합니다 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

매개 변수

state
ShellNavigationState

셸에서 탐색할 경로를 정의합니다.

animate
Boolean

전환에 애니메이션 효과를 주는지를 나타냅니다.

shellNavigationQueryParameters
ShellNavigationQueryParameters

이 특정 탐색 작업에 사용할 매개 변수입니다.

반환

적용 대상

GoToAsync(ShellNavigationState, IDictionary<String,Object>)

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

매개 변수

parameters
IDictionary<String,Object>

반환

적용 대상

GoToAsync(ShellNavigationState, ShellNavigationQueryParameters)

이 메서드는 으로 이동하고 ShellNavigationState 탐색 애니메이션이 Task 완료되면 완료되는 을 반환합니다.

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

매개 변수

state
ShellNavigationState

셸에서 탐색할 경로를 정의합니다.

shellNavigationQueryParameters
ShellNavigationQueryParameters

이 특정 탐색 작업에 사용할 매개 변수입니다.

반환

적용 대상

GoToAsync(ShellNavigationState)

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

매개 변수

반환

적용 대상

GoToAsync(ShellNavigationState, Boolean)

필요에 따라 으로 비동기적으로 이동합니다 state.

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

매개 변수

animate
Boolean

반환

설명

ShellNavigationStateUri에서 string 암시적 변환이 있으므로 개발자는 의 명시적 인스턴스화 ShellNavigationState없이 다음과 같은 코드를 작성할 수 있습니다.

await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");

적용 대상