Export (0) Print
Expand All

DisplayValue Class

Represents the display value for a length, weight, or other type of measurement.

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

public class DisplayValue : HealthRecordItemData

A display value differs from a value in that it is the value as entered by the user rather than the value converted to a base unit. The unit used can also reference the unit through the HealthVault dictionary code. Single-valued display values ("15 pounds") should be expressed using the Value and Units properties. Multi-valued display values ("12 pounds 3 ounces") can be expressed using the Text property, but should also be expressed using value and units ("12.25 pounds").
© 2015 Microsoft