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입니다.

특성

추가 정보

적용 대상