共用方式為


MagnetometerChangedEventArgs(MagnetometerData) 建構函式

定義

初始化 MagnetometerChangedEventArgs 類別的新執行個體。

public:
 MagnetometerChangedEventArgs(Microsoft::Maui::Devices::Sensors::MagnetometerData reading);
public MagnetometerChangedEventArgs (Microsoft.Maui.Devices.Sensors.MagnetometerData reading);
new Microsoft.Maui.Devices.Sensors.MagnetometerChangedEventArgs : Microsoft.Maui.Devices.Sensors.MagnetometerData -> Microsoft.Maui.Devices.Sensors.MagnetometerChangedEventArgs
Public Sub New (reading As MagnetometerData)

參數

reading
MagnetometerData

磁力計數據讀取。

適用於