Share via


OrientationSensorData.Equals Method

Definition

Overloads

Equals(OrientationSensorData)

Compares the underlying OrientationSensorData instances.

Equals(Object)

Compares the underlying OrientationSensorData instances.

Equals(OrientationSensorData)

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

Compares the underlying OrientationSensorData instances.

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

Parameters

other
OrientationSensorData

OrientationSensorData object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

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

Compares the underlying OrientationSensorData instances.

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

Parameters

obj
Object

Object to compare with.

Returns

true if they are equal, otherwise false.

Applies to