Edit

Share via


DhtBase.Temperature Property

Definition

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)

Applies to