GoalRecurrence Class

Definition

This sub-type allows specifying recurrence for Goals.

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

Constructors

GoalRecurrence()

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

GoalRecurrence(CodableValue, Int32)

Creates a new instance of the GoalRecurrence class specifying mandatory values.

Properties

Interval

Gets or sets specifies the recurrence interval of the goal. For example, day, week, year, etc.

TimesInInterval

Gets or sets specifies the number of times the goal's target is intended to be achieved during the interval.

Methods

ParseXml(XPathNavigator)

Populates this GoalRecurrence instance from the data in the specified XML.

ToString()

Gets a string representation of the GoalRecurrence.

WriteXml(String, XmlWriter)

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