Pace​Measurement Class

Definition

Represents a pace measurement and display.

public class PaceMeasurement : Microsoft.Health.ItemTypes.Measurement<double>
Inheritance

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Remarks

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

Constructors

Pace​Measurement()

Creates a new instance of the PaceMeasurement class with empty values.

Pace​Measurement(​Double)

Creates a new instance of the PaceMeasurement class with the specified value in seconds per 100 meters.

Pace​Measurement(​Double, ​Display​Value)

Creates a new instance of the PaceMeasurement class with the specified value in seconds per 100 meters and optional display value.

Methods

Assert​Measurement​Value(​Double)

Verifies that the value is a legal pace value.

Get​Value​String(​Double)

Gets a string representation of the pace in the base units.

Parse​Value​Xml(​XPath​Navigator)

Populates the data for the pace from the XML.

Write​Value​Xml(​Xml​Writer)

Writes the pace to the specified XML writer.