Int32Measurement Class

Definition

Represents a measurement of type int and display.

public class Int32Measurement : Microsoft.Health.ItemTypes.Measurement<int>
Inheritance

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Constructors

Int32Measurement()

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

Int32Measurement(Int32)

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

Int32Measurement(Int32, DisplayValue)

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

Properties

ValueElementName

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

Methods

AssertMeasurementValue(Int32)

Verifies that the value is a legal value.

GetValueString(Int32)

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

ParseValueXml(XPathNavigator)

Populates the data for the measurement from the XML.

WriteValueXml(XmlWriter)

Writes the measurement to the specified XML writer.