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 时,将引发此异常。

适用于