共用方式為


GeolocationLocationChangedEventArgs(Location) 建構函式

定義

接受讀取事件自變數的公用建構函式。

public:
 GeolocationLocationChangedEventArgs(Microsoft::Maui::Devices::Sensors::Location ^ location);
public GeolocationLocationChangedEventArgs (Microsoft.Maui.Devices.Sensors.Location location);
new Microsoft.Maui.Devices.Sensors.GeolocationLocationChangedEventArgs : Microsoft.Maui.Devices.Sensors.Location -> Microsoft.Maui.Devices.Sensors.GeolocationLocationChangedEventArgs
Public Sub New (location As Location)

參數

location
Location

位置數據讀取。

例外狀況

locationnull 時擲回。

適用於