Weight​Goal Class

Definition

Represents a health record item type that encapsulates a weight goal.

public class WeightGoal : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Weight​Goal()

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

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Goal

Gets or sets the goal information.

Initial​Weight

Gets or sets the person's initial weight.

Maximum​Weight

Gets or sets the person's maximum weight.

Minimum​Weight

Gets or sets the person's minimum weight.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this WeightGoal instance from the data in the XML.

To​String()

Gets a string representation of the weight goal.

Write​Xml(​Xml​Writer)

Writes the weight goal data to the specified XmlWriter.