Double​Measurement Class

Definition

Represents a measurement of type double and display.

public class DoubleMeasurement : Microsoft.Health.ItemTypes.Measurement<double>
Inheritance

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Constructors

Double​Measurement()

Creates a new instance of the DoubleMeasurement class using default values.

Double​Measurement(​Double)

Creates a new instance of the DoubleMeasurement class with the specified value.

Double​Measurement(​Double, ​Display​Value)

Creates a new instance of the DoubleMeasurement class with the specified value and optional display value.

Properties

Value​Element​Name

Gets or sets the name of the element that defines the value for the measurement.

Methods

Assert​Measurement​Value(​Double)

Verifies that the value is a legal value.

Get​Value​String(​Double)

Retrieves a string representation of the measurement in the base units.

Parse​Value​Xml(​XPath​Navigator)

Populates the data for the measurement from the XML.

Write​Value​Xml(​Xml​Writer)

Writes the measurement to the specified XML writer.