Edit

Share via


DhtBase.TryReadTemperature(Temperature) Method

Definition

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

Applies to