Dietary​Intake Class

Definition

The amount of dietary nutrients and minerals consumed.

public class DietaryIntake : Microsoft.Health.HealthRecordItem
Inheritance
DietaryIntake

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Dietary​Intake()

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

Dietary​Intake(​Codable​Value)

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

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Additional​Nutrition​Facts

Gets the additional nutritional fact data.

Calcium

Gets or sets the amount of calcium consumed.

Carbohydrates

Gets or sets the amount of carbohydrates consumed.

Cholesterol

Gets or sets the amount of cholesterol consumed.

Dietary​Fiber

Gets or sets the amount of dietary fiber consumed.

Energy

Gets or sets the amount of food energy consumed.

Energy​From​Fat

Gets or sets the amount of food energy consumed that came from fat.

Folate​DF​E

Gets or sets this value is the dietary folate equivalent (DFE) of Folate consumed.

Food​Item

Gets or sets the food item that was eaten.

Iron

Gets or sets the amount of iron consumed.

Magnesium

Gets or sets the amount of magnesium consumed.

Meal

Gets or sets a textual description of a meal.

Monounsaturated​Fat

Gets or sets the amount of mono unsaturated fat consumed.

Niacin

Gets or sets the amount of niacin consumed.

Phosphorus

Gets or sets the amount of phosphorus consumed.

Polyunsaturated​Fat

Gets or sets the amount of poly unsaturated fat consumed.

Potassium

Gets or sets the amount of potassium consumed.

Protein

Gets or sets the amount of protein consumed.

Riboflavin

Gets or sets the amount of riboflavin consumed.

Saturated​Fat

Gets or sets the amount of saturated fat consumed.

Servings​Consumed

Gets or sets the number of servings consumed.

Serving​Size

Gets or sets the serving size.

Sodium

Gets or sets the amount of sodium consumed.

Sugars

Gets or sets the total amount of sugars consumed.

Thiamin

Gets or sets the amount of thiamin consumed.

Total​Fat

Gets or sets the total amount of fat consumed.

Trans​Fat

Gets or sets the amount of trans fat consumed.

Vitamin​AR​AE

Gets or sets this value is the retinol activity equivalent (RAE) weight of vitamin A consumed.

Vitamin​B12

Gets or sets the amount of vitamin B-12 consumed.

Vitamin​B6

Gets or sets the amount of vitamin B-6 consumed.

Vitamin​C

Gets or sets the amount of vitamin C consumed.

Vitamin​D

Gets or sets the amount of vitamin D consumed.

Vitamin​E

Gets or sets the amount of vitamin E consumed.

Vitamin​K

Gets or sets the amount of vitamin K consumed.

When

Gets or sets the date time of consumption.

Zinc

Gets or sets the amount of zinc consumed.

Methods

Parse​Xml(​IX​Path​Navigable)

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

To​String()

Gets a string representation of the DietaryIntake.

Write​Xml(​Xml​Writer)

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