Bmx280Base.TryReadPressure(Pressure) 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.
Reads the pressure. A return value indicates whether the reading succeeded.
public override bool TryReadPressure (out UnitsNet.Pressure pressure);
[System.Device.Model.Telemetry("Pressure", null)]
public override bool TryReadPressure (out UnitsNet.Pressure pressure);
override this.TryReadPressure : Pressure -> bool
[<System.Device.Model.Telemetry("Pressure", null)>]
override this.TryReadPressure : Pressure -> bool
Public Overrides Function TryReadPressure (ByRef pressure As Pressure) As Boolean
Parameters
- pressure
- UnitsNet.Pressure
Contains the measured pressure in Pa if the PressureSampling was not set to Skipped. Contains NaN otherwise.
Returns
true
if measurement was not skipped, otherwise false
.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for