Share via


AccelerometerData.Equals Method

Definition

Overloads

Equals(AccelerometerData)

Compares the underlying Vector3 instances.

Equals(Object)

If equal to another object

Equals(AccelerometerData)

Source:
Accelerometer.shared.cs
Source:
Accelerometer.shared.cs

Compares the underlying Vector3 instances.

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

Parameters

other
AccelerometerData

AccelerometerData object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

Source:
Accelerometer.shared.cs
Source:
Accelerometer.shared.cs

If equal to another object

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

Returns

If equal

Applies to