Bmxx80Base.TryReadPressure(Pressure) Method

Definition

Reads the pressure. A return value indicates whether the reading succeeded.

public abstract bool TryReadPressure (out UnitsNet.Pressure pressure);
abstract member TryReadPressure : Pressure -> bool
Public MustOverride Function TryReadPressure (ByRef pressure As Pressure) As Boolean

Parameters

pressure
UnitsNet.Pressure

Contains the measured pressure if the PressureSampling was not set to Skipped. Contains NaN otherwise.

Returns

true if measurement was not skipped, otherwise false.

Applies to