OrientationSensorData.Equals 方法

定义

重载

Equals(OrientationSensorData)

比较基础 OrientationSensorData 实例。

Equals(Object)

比较基础 OrientationSensorData 实例。

Equals(OrientationSensorData)

Source:
OrientationSensor.shared.cs
Source:
OrientationSensor.shared.cs

比较基础 OrientationSensorData 实例。

public:
 virtual bool Equals(Microsoft::Maui::Devices::Sensors::OrientationSensorData other);
public bool Equals (Microsoft.Maui.Devices.Sensors.OrientationSensorData other);
override this.Equals : Microsoft.Maui.Devices.Sensors.OrientationSensorData -> bool
Public Function Equals (other As OrientationSensorData) As Boolean

参数

other
OrientationSensorData

OrientationSensorData 要与之比较的 对象。

返回

true 如果它们相等,则为 ;否则为 false

实现

适用于

Equals(Object)

Source:
OrientationSensor.shared.cs
Source:
OrientationSensor.shared.cs

比较基础 OrientationSensorData 实例。

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

要与之比较的对象。

返回

true 如果它们相等,则为 ;否则为 false

适用于