Weight Class

Definition

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

public class Weight : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Weight()

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

Weight(​Health​Service​Date​Time, ​Weight​Value)

Creates a new instance of the Weight class with the specified date/time and weight.

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Value

Gets or sets the person's weight.

When

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

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this Weight instance from the data in the XML.

To​String()

Gets a string representation of the object.

Write​Xml(​Xml​Writer)

Writes the weight data to the specified XmlWriter.