MapControl.TrySetSceneAsync Méthode

Définition

Surcharges

TrySetSceneAsync(MapScene)

Définit la scène de la carte affichée dans mapControl à l’aide de la scène spécifiée.

TrySetSceneAsync(MapScene, MapAnimationKind)

Définit la scène de la carte affichée dans MapControl à l’aide de la scène et de l’animation spécifiées.

TrySetSceneAsync(MapScene)

Définit la scène de la carte affichée dans mapControl à l’aide de la scène spécifiée.

public:
 virtual IAsyncOperation<bool> ^ TrySetSceneAsync(MapScene ^ scene) = TrySetSceneAsync;
/// [Windows.Foundation.Metadata.Overload("TrySetSceneAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TrySetSceneAsync(MapScene const& scene);
[Windows.Foundation.Metadata.Overload("TrySetSceneAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TrySetSceneAsync(MapScene scene);
function trySetSceneAsync(scene)
Public Function TrySetSceneAsync (scene As MapScene) As IAsyncOperation(Of Boolean)

Paramètres

scene
MapScene

Définit l’élément ou la zone à afficher dans la carte.

Retours

true si l’opération asynchrone a réussi ; sinon, false.

Attributs

Voir aussi

S’applique à

TrySetSceneAsync(MapScene, MapAnimationKind)

Définit la scène de la carte affichée dans MapControl à l’aide de la scène et de l’animation spécifiées.

public:
 virtual IAsyncOperation<bool> ^ TrySetSceneAsync(MapScene ^ scene, MapAnimationKind animationKind) = TrySetSceneAsync;
/// [Windows.Foundation.Metadata.Overload("TrySetSceneWithAnimationAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TrySetSceneAsync(MapScene const& scene, MapAnimationKind const& animationKind);
[Windows.Foundation.Metadata.Overload("TrySetSceneWithAnimationAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TrySetSceneAsync(MapScene scene, MapAnimationKind animationKind);
function trySetSceneAsync(scene, animationKind)
Public Function TrySetSceneAsync (scene As MapScene, animationKind As MapAnimationKind) As IAsyncOperation(Of Boolean)

Paramètres

scene
MapScene

Définit l’élément ou la zone à afficher dans la carte.

animationKind
MapAnimationKind

Spécifie l’animation à utiliser lorsque vous modifiez la scène de la carte.

Retours

true si l’opération asynchrone a réussi ; sinon, false.

Attributs

Voir aussi

S’applique à