MapControl.TrySetSceneAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TrySetSceneAsync(MapScene) |
Windows.UI.Xaml.Controls.Maps.MapControl |
| TrySetSceneAsync(MapScene, MapAnimationKind) |
Windows.UI.Xaml.Controls.Maps.MapControl |
TrySetSceneAsync(MapScene)
Windows.UI.Xaml.Controls.Maps.MapControl
public System.Threading.Tasks.Task<bool> TrySetSceneAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapScene scene);
member this.TrySetSceneAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapScene -> System.Threading.Tasks.Task<bool>
Public Function TrySetSceneAsync (scene As MapScene) As Task(Of Boolean)
Parameters
- scene
- MapScene
Returns
IAsyncOperation
Applies to
TrySetSceneAsync(MapScene, MapAnimationKind)
Windows.UI.Xaml.Controls.Maps.MapControl
public System.Threading.Tasks.Task<bool> TrySetSceneAsync(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapScene scene, Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapAnimationKind animationKind);
member this.TrySetSceneAsync : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapScene * Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.MapAnimationKind -> System.Threading.Tasks.Task<bool>
Public Function TrySetSceneAsync (scene As MapScene, animationKind As MapAnimationKind) As Task(Of Boolean)
Parameters
- scene
- MapScene
- animationKind
- MapAnimationKind
Returns
IAsyncOperation