Height Class

Definition

Represents a health record item type that encapsulates a person's height.

public class Height : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Height()

Creates a new instance of the Height class with default values.

Height(Double)

Creates a new instance of the Height class with the specified height in meters.

Height(HealthServiceDateTime, Length)

Creates a new instance of the Height class with the specified date and time of measurement and the height in meters.

Height(Double, DisplayValue)

Creates a new instance of the Height class with the specified height in meters and display value.

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

Value

Gets or sets the person's height.

When

Gets or sets the date/time when the height measurement was taken.

Methods

ParseXml(IXPathNavigable)

Populates this Height instance from the data in the XML.

ToString()

Gets a string representation of the height item.

WriteXml(XmlWriter)

Writes the height data to the specified XmlWriter.