Share via


MapControl.TrySetSceneAsync メソッド

定義

オーバーロード

TrySetSceneAsync(MapScene)

指定したシーンを使用して 、MapControl に表示されるマップのシーンを設定します。

TrySetSceneAsync(MapScene, MapAnimationKind)

指定したシーンとアニメーションを使用して 、MapControl に表示されるマップのシーンを設定します。

TrySetSceneAsync(MapScene)

指定したシーンを使用して 、MapControl に表示されるマップのシーンを設定します。

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)

パラメーター

scene
MapScene

マップに表示する項目または領域を定義します。

戻り値

非同期操作が成功した場合は true。それ以外の場合は false

属性

こちらもご覧ください

適用対象

TrySetSceneAsync(MapScene, MapAnimationKind)

指定したシーンとアニメーションを使用して 、MapControl に表示されるマップのシーンを設定します。

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)

パラメーター

scene
MapScene

マップに表示する項目または領域を定義します。

animationKind
MapAnimationKind

マップのシーンを変更するときに使用するアニメーションを指定します。

戻り値

非同期操作が成功した場合は true。それ以外の場合は false

属性

こちらもご覧ください

適用対象