共用方式為


OrientationSensorData.Inequality 運算子

定義

不等比較運算符。

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

參數

left
OrientationSensorData

要比較的左側。

right
OrientationSensorData

要比較的權利。

傳回

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

適用於