BarometerData.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(BarometerData) |
Compares the underlying PressureInHectopascals instances. |
Equals(Object) |
Compares the underlying BarometerData instances. |
Equals(BarometerData)
- Source:
- Barometer.shared.cs
- Source:
- Barometer.shared.cs
Compares the underlying PressureInHectopascals instances.
public:
virtual bool Equals(Microsoft::Maui::Devices::Sensors::BarometerData other);
public bool Equals (Microsoft.Maui.Devices.Sensors.BarometerData other);
override this.Equals : Microsoft.Maui.Devices.Sensors.BarometerData -> bool
Public Function Equals (other As BarometerData) As Boolean
Parameters
- other
- BarometerData
BarometerData object to compare with.
Returns
true
if they are equal, otherwise false
.
Implements
Applies to
Equals(Object)
- Source:
- Barometer.shared.cs
- Source:
- Barometer.shared.cs
Compares the underlying BarometerData 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.