Emotion Class

Definition

Represents a health record item type that encapsulates an emotion.

public class Emotion : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Emotion()

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

Emotion(HealthServiceDateTime)

Creates a new instance of the Emotion class with the specified date/time.

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

Mood

Gets or sets the mood of the person.

Stress

Gets or sets the stress level of the person.

Wellbeing

Gets or sets the wellbeing of the person.

When

Gets or sets the date/time when the emotion occurred.

Methods

ParseXml(IXPathNavigable)

Populates this Emotion instance from the data in the XML.

ToString()

Gets a string representation of the emotion item.

WriteXml(XmlWriter)

Writes the emotion data to the specified XmlWriter.