Goal Class

Definition

Represents a goal.

public class Goal : Microsoft.Health.ItemTypes.HealthRecordItemData
Inheritance

Constructors

Goal()

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

Goal(​Approximate​Date​Time)

Creates a new instance of the Goal class with the specified target date.

Properties

Completion​Date

Gets or sets the date the goal was achieved.

Status

Gets or sets the status of the goal.

Target​Date

Gets or sets the date for achieving the goal.

Methods

Parse​Xml(​XPath​Navigator)

Populates the data from the specified XML.

Write​Xml(​String, ​Xml​Writer)

Writes the XML representation of the goal into the specified XML writer.