Occurrence Class

Definition

Represents an occurrence of an event, such as an activity, period of awakening during sleep, and so on.

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

Constructors

Occurrence()

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

Occurrence(ApproximateTime, Int32)

Creates a new instance of the Occurrence class with the specified approximate time and duration.

Properties

Minutes

Gets or sets the duration of the occurrence in minutes.

When

Gets or sets the time of the occurrence.

Methods

ParseXml(XPathNavigator)

Populates the data from the specified XML.

WriteXml(String, XmlWriter)

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