Bagikan melalui


PlacemarkExtensions.OpenMapsAsync Metode

Definisi

Overload

OpenMapsAsync(Placemark)

Buka peta ke placemark.

OpenMapsAsync(Placemark, MapLaunchOptions)

Buka peta ke placemark dengan opsi.

OpenMapsAsync(Placemark)

Sumber:
PlacemarkExtensions.shared.cs
Sumber:
PlacemarkExtensions.shared.cs

Buka peta ke placemark.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ OpenMapsAsync(Microsoft::Maui::Devices::Sensors::Placemark ^ placemark);
public static System.Threading.Tasks.Task OpenMapsAsync (this Microsoft.Maui.Devices.Sensors.Placemark placemark);
static member OpenMapsAsync : Microsoft.Maui.Devices.Sensors.Placemark -> System.Threading.Tasks.Task
<Extension()>
Public Function OpenMapsAsync (placemark As Placemark) As Task

Parameter

placemark
Placemark

Marka tempat untuk membuka peta.

Mengembalikan

Objek Task dengan status operasi asinkron saat ini.

Berlaku untuk

OpenMapsAsync(Placemark, MapLaunchOptions)

Sumber:
PlacemarkExtensions.shared.cs
Sumber:
PlacemarkExtensions.shared.cs

Buka peta ke placemark dengan opsi.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ OpenMapsAsync(Microsoft::Maui::Devices::Sensors::Placemark ^ placemark, Microsoft::Maui::ApplicationModel::MapLaunchOptions ^ options);
public static System.Threading.Tasks.Task OpenMapsAsync (this Microsoft.Maui.Devices.Sensors.Placemark placemark, Microsoft.Maui.ApplicationModel.MapLaunchOptions options);
static member OpenMapsAsync : Microsoft.Maui.Devices.Sensors.Placemark * Microsoft.Maui.ApplicationModel.MapLaunchOptions -> System.Threading.Tasks.Task
<Extension()>
Public Function OpenMapsAsync (placemark As Placemark, options As MapLaunchOptions) As Task

Parameter

placemark
Placemark

Marka tempat untuk membuka peta.

options
MapLaunchOptions

Opsi untuk membuka peta.

Mengembalikan

Objek Task dengan status operasi asinkron saat ini.

Berlaku untuk