Share via


CompassData.Equals Method

Definition

Overloads

Equals(CompassData)

Compares the underlying HeadingMagneticNorth instances.

Equals(Object)

Compares the underlying CompassData instances.

Equals(CompassData)

Source:
Compass.shared.cs
Source:
Compass.shared.cs

Compares the underlying HeadingMagneticNorth instances.

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

Parameters

other
CompassData

Object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

Source:
Compass.shared.cs
Source:
Compass.shared.cs

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