DhtBase.Temperature Property
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.
Caution
This property will be removed in the a future release. Use TryGetTemperature instead.
Get the last read temperature
public virtual Iot.Units.Temperature Temperature { get; }
public virtual UnitsNet.Temperature Temperature { get; }
[System.Device.Model.Telemetry(null, null)]
public virtual UnitsNet.Temperature Temperature { get; }
[System.Obsolete("This property will be removed in the a future release. Use TryGetTemperature instead.")]
public virtual UnitsNet.Temperature Temperature { get; }
member this.Temperature : Iot.Units.Temperature
member this.Temperature : UnitsNet.Temperature
[<System.Device.Model.Telemetry(null, null)>]
member this.Temperature : UnitsNet.Temperature
[<System.Obsolete("This property will be removed in the a future release. Use TryGetTemperature instead.")>]
member this.Temperature : UnitsNet.Temperature
Public Overridable ReadOnly Property Temperature As Temperature
Property Value
UnitsNet.Temperature
- Attributes
Remarks
If last read was not successful, it returns default(Temperature)