MapControl.TryPanToAsync(Geopoint) Metode

Definisi

Memulai operasi asinkron untuk menggeser peta ke lokasi tertentu.

public:
 virtual IAsyncOperation<bool> ^ TryPanToAsync(Geopoint ^ location) = TryPanToAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryPanToAsync(Geopoint const& location);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryPanToAsync(Geopoint location);
function tryPanToAsync(location)
Public Function TryPanToAsync (location As Geopoint) As IAsyncOperation(Of Boolean)

Parameter

location
Geopoint

Koordinat lokasi geografis tempat Anda ingin menggeser peta.

Mengembalikan

Berisi hasil operasi: true jika operasi berhasil diselesaikan; jika tidak, salah.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Berlaku untuk