Length Class

Represents a length value and display.

Namespace: Microsoft.Health.ItemTypes
Assembly: Microsoft.Health.ItemTypes (in Microsoft.Health.ItemTypes.dll) Version: (1.15.1003.9505)

public class Length : Measurement<double>

In HealthVault, lengths have values and display values. All values are stored in a base unit of meters. An application can take a length value using any scale the application chooses and can store the user-entered value as the display value, but the length value must be converted to meters to be stored in HealthVault.