DhtBase.TryReadTemperature(Temperature) 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.
Returns the current temperature
[System.Device.Model.Telemetry("Temperature", null)]
public bool TryReadTemperature (out UnitsNet.Temperature temperature);
[<System.Device.Model.Telemetry("Temperature", null)>]
member this.TryReadTemperature : Temperature -> bool
Public Function TryReadTemperature (ByRef temperature As Temperature) As Boolean
Parameters
- temperature
- UnitsNet.Temperature
[Out] The current temperature on success
Returns
True on success, false if reading failed
- Attributes