Aerobic​Weekly​Goal Class

Definition

Represents a health record item type that encapsulates a goal to have a certain number of aerobic sessions per week.

public class AerobicWeeklyGoal : Microsoft.Health.HealthRecordItem
Inheritance
AerobicWeeklyGoal

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Aerobic​Weekly​Goal()

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

Aerobic​Weekly​Goal(​Aerobic​Data, ​Int32)

Creates a new instance of the AerobicWeeklyGoal class with the specified session data.

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Aerobic​Session

Gets or sets the definition of the aerobic session needed to meet the goal.

Recurrence

Gets or sets the number of sessions per week required to meet the goal.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this AerobicWeeklyGoal instance from the data in the XML.

To​String()

Gets a string representation of the aerobic weekly goal item.

Write​Xml(​Xml​Writer)

Writes the aerobic weekly goal data to the specified XmlWriter.