Shell.GoToAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>) |
필요에 따라 으로 비동기적으로 이동합니다 |
GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters) |
이 메서드는 로 이동하고 ShellNavigationState 를 반환합니다 Task. |
GoToAsync(ShellNavigationState, IDictionary<String,Object>) | |
GoToAsync(ShellNavigationState, ShellNavigationQueryParameters) |
이 메서드는 으로 이동하고 ShellNavigationState 탐색 애니메이션이 Task 완료되면 완료되는 을 반환합니다. |
GoToAsync(ShellNavigationState) | |
GoToAsync(ShellNavigationState, Boolean) |
필요에 따라 으로 비동기적으로 이동합니다 |
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
매개 변수
- state
- ShellNavigationState
- animate
- Boolean
- parameters
- IDictionary<String,Object>
반환
설명
ShellNavigationState 및 Uri에서 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
매개 변수
- state
- ShellNavigationState
- 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
매개 변수
- state
- ShellNavigationState
반환
적용 대상
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
매개 변수
- state
- ShellNavigationState
- animate
- Boolean
반환
설명
ShellNavigationState 및 Uri에서 string
암시적 변환이 있으므로 개발자는 의 명시적 인스턴스화 ShellNavigationState없이 다음과 같은 코드를 작성할 수 있습니다.
await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");
적용 대상
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기