Edit

Share via


Bmxx80Base.TryReadTemperature(Temperature) Method

Definition

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

public abstract bool TryReadTemperature (out UnitsNet.Temperature temperature);
abstract member TryReadTemperature : Temperature -> bool
Public MustOverride Function TryReadTemperature (ByRef temperature As Temperature) As Boolean

Parameters

temperature
UnitsNet.Temperature

Contains the measured temperature if the TemperatureSampling was not set to Skipped. Contains NaN otherwise.

Returns

true if measurement was not skipped, otherwise false.

Applies to