MapControl.TrySetSceneAsync MapControl.TrySetSceneAsync MapControl.TrySetSceneAsync MapControl.TrySetSceneAsync Method

Definition

Overloads

TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene)

Sets the scene of the map displayed in the MapControl using the specified scene.

TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind)

Sets the scene of the map displayed in the MapControl using the specified scene and animation.

TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene) TrySetSceneAsync(MapScene)

Sets the scene of the map displayed in the MapControl using the specified scene.

public : IAsyncOperation<Platform::Boolean> TrySetSceneAsync(MapScene scene)
IAsyncOperation<bool> TrySetSceneAsync(MapScene scene) const;
public IAsyncOperation<bool> TrySetSceneAsync(MapScene scene)
Public Function TrySetSceneAsync(scene As MapScene) As IAsyncOperation(Of bool)

Parameters

scene
MapScene MapScene

Defines the item or area to appear in the map.

Returns

true if the asynchronous operation succeeded; otherwise, false.

See also

TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind) TrySetSceneAsync(MapScene, MapAnimationKind)

Sets the scene of the map displayed in the MapControl using the specified scene and animation.

public : IAsyncOperation<Platform::Boolean> TrySetSceneAsync(MapScene scene, MapAnimationKind animationKind)
IAsyncOperation<bool> TrySetSceneAsync(MapScene scene, MapAnimationKind animationKind) const;
public IAsyncOperation<bool> TrySetSceneAsync(MapScene scene, MapAnimationKind animationKind)
Public Function TrySetSceneAsync(scene As MapScene, animationKind As MapAnimationKind) As IAsyncOperation(Of bool)

Parameters

scene
MapScene MapScene

Defines the item or area to appear in the map.

animationKind
MapAnimationKind MapAnimationKind

Specifies the animation to use when you change the scene of the map.

Returns

true if the asynchronous operation succeeded; otherwise, false.

See also