共用方式為


BarometerData.Equality(BarometerData, BarometerData) 運算子

定義

等於的相等運算符。

public:
 static bool operator ==(Microsoft::Maui::Devices::Sensors::BarometerData left, Microsoft::Maui::Devices::Sensors::BarometerData right);
public static bool operator == (Microsoft.Maui.Devices.Sensors.BarometerData left, Microsoft.Maui.Devices.Sensors.BarometerData right);
static member ( = ) : Microsoft.Maui.Devices.Sensors.BarometerData * Microsoft.Maui.Devices.Sensors.BarometerData -> bool
Public Shared Operator == (left As BarometerData, right As BarometerData) As Boolean

參數

left
BarometerData

要比較的左邊。

right
BarometerData

要比較的權利。

傳回

true 如果物件相等,則為 ,否則 false為 。

適用於