WeightValue Class

Represents a weight value and display.

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

public ref class WeightValue : public Measurement<double>

In HealthVault, weights have values and display values. All values are stored in a base unit of kilograms. 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 kilograms to be stored in HealthVault.