BloodGlucoseMeasurement BloodGlucoseMeasurement BloodGlucoseMeasurement Class


Represents a blood glucose measurement.

public class BloodGlucoseMeasurement : Microsoft.Health.ItemTypes.Measurement<double>
type BloodGlucoseMeasurement = class
    inherit Measurement<double>
Public Class BloodGlucoseMeasurement
Inherits Measurement(Of Double)


In HealthVault, blood glucose readings have values and display values. 
All values are stored in a base unit of mmol/L. An application can 
take a blood glucose value using any scale the application chooses and 
can store the user-entered value as the display value, but the blood
glucose value must be converted to mmol/L to be stored in HealthVault.


BloodGlucoseMeasurement() BloodGlucoseMeasurement() BloodGlucoseMeasurement()

Creates a new instance of the BloodGlucoseMeasurement class with empty values.

BloodGlucoseMeasurement(Double) BloodGlucoseMeasurement(Double) BloodGlucoseMeasurement(Double)

Creates a new instance of the BloodGlucoseMeasurement class with the specified value in millimoles per liter (mmol/L).

BloodGlucoseMeasurement(Double, DisplayValue) BloodGlucoseMeasurement(Double, DisplayValue) BloodGlucoseMeasurement(Double, DisplayValue)

Creates a new instance of the BloodGlucoseMeasurement class with the specified value in millimoles per liter (mmol/L) and display value.


AssertMeasurementValue(Double) AssertMeasurementValue(Double) AssertMeasurementValue(Double)

Verifies the value is a legal blood glucose measurement in millimoles per liter (mmol/L).

AssertMeasurementValue(MeasurementType) AssertMeasurementValue(MeasurementType) AssertMeasurementValue(MeasurementType)

Verifies the value is in the appropriate base unit of measure and is a legal value for the type.

(Inherited from Measurement<MeasurementType>)
GetValueString(Double) GetValueString(Double) GetValueString(Double)

Gets a string representation of the blood glucose in the base units.

GetValueString(MeasurementType) GetValueString(MeasurementType) GetValueString(MeasurementType)

Retrieves the string representation of the value.

(Inherited from Measurement<MeasurementType>)
ParseValueXml(XPathNavigator) ParseValueXml(XPathNavigator) ParseValueXml(XPathNavigator)

Populates the data for the blood glucose from the XML.

ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the data for the measurement from the XML.

(Inherited from Measurement<MeasurementType>)
ToString() ToString() ToString()

Retrieves a string representation of the measurement using the DisplayValue property.

(Inherited from Measurement<MeasurementType>)
WriteValueXml(XmlWriter) WriteValueXml(XmlWriter) WriteValueXml(XmlWriter)

Writes the blood glucose to the specified XML writer.

WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

Writes the measurement to the specified XML writer.

(Inherited from Measurement<MeasurementType>)


DisplayValue DisplayValue DisplayValue

Gets or sets the display value of the HealthVault dictionary item.

(Inherited from Measurement<MeasurementType>)
Value Value Value

Gets or sets the value of the measurement.

(Inherited from Measurement<MeasurementType>)

Applies to