Goal Goal Goal Class

Definition

Represents a goal.

public class Goal : Microsoft.Health.ItemTypes.HealthRecordItemData
type Goal = class
    inherit HealthRecordItemData
Public Class Goal
Inherits HealthRecordItemData
Inheritance

Constructors

Goal() Goal() Goal()

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

Goal(ApproximateDateTime) Goal(ApproximateDateTime) Goal(ApproximateDateTime)

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

Properties

CompletionDate CompletionDate CompletionDate

Gets or sets the date the goal was achieved.

Status Status Status

Gets or sets the status of the goal.

TargetDate TargetDate TargetDate

Gets or sets the date for achieving the goal.

Methods

ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the data from the specified XML.

WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

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

Applies to