Edit

Share via


DhtBase.Humidity Property

Definition

Caution

This property will be removed in a future release. Use TryGetHumidity instead.

Get the last read of relative humidity in percentage

public virtual double Humidity { get; }
public virtual UnitsNet.Ratio Humidity { get; }
public virtual UnitsNet.RelativeHumidity Humidity { get; }
[System.Device.Model.Telemetry(null, null)]
public virtual UnitsNet.RelativeHumidity Humidity { get; }
[System.Obsolete("This property will be removed in a future release. Use TryGetHumidity instead.")]
public virtual UnitsNet.RelativeHumidity Humidity { get; }
member this.Humidity : double
member this.Humidity : UnitsNet.Ratio
member this.Humidity : UnitsNet.RelativeHumidity
[<System.Device.Model.Telemetry(null, null)>]
member this.Humidity : UnitsNet.RelativeHumidity
[<System.Obsolete("This property will be removed in a future release. Use TryGetHumidity instead.")>]
member this.Humidity : UnitsNet.RelativeHumidity
Public Overridable ReadOnly Property Humidity As Double
Public Overridable ReadOnly Property Humidity As Ratio
Public Overridable ReadOnly Property Humidity As RelativeHumidity

Property Value

UnitsNet.Ratio
UnitsNet.RelativeHumidity
Attributes

Remarks

If last read was not successful, it returns default(RelativeHumidity)

Applies to