Share via


MagnetometerData.Equals Method

Definition

Overloads

Equals(MagnetometerData)

Compares the underlying MagneticField instances.

Equals(Object)

Compares the underlying MagnetometerData instances.

Equals(MagnetometerData)

Source:
Magnetometer.shared.cs
Source:
Magnetometer.shared.cs

Compares the underlying MagneticField instances.

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

Parameters

other
MagnetometerData

MagnetometerData object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

Source:
Magnetometer.shared.cs
Source:
Magnetometer.shared.cs

Compares the underlying MagnetometerData 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