SampleSet SampleSet SampleSet Class

Definition

Represents a set of samples within a larger activity or reading.

public class SampleSet : Microsoft.Health.ItemTypes.HealthRecordItemData
type SampleSet = class
    inherit HealthRecordItemData
Public Class SampleSet
Inherits HealthRecordItemData
Inheritance

Remarks

An example of a sample set is a set of heart rate readings during an

aerobic activity.

Constructors

SampleSet() SampleSet() SampleSet()

Creates a new instance of the SampleSet class with no value.

SampleSet(HealthServiceDateTime) SampleSet(HealthServiceDateTime) SampleSet(HealthServiceDateTime)

Creates a new instance of the SampleSet class with the specified start time for the set.

SampleSet(HealthServiceDateTime, String, CodableValue) SampleSet(HealthServiceDateTime, String, CodableValue) SampleSet(HealthServiceDateTime, String, CodableValue)

Creates a new instance of the SampleSet class with the specified start time for the set.

Properties

BaseTime BaseTime BaseTime

Gets or sets the time when the sample set started recording samples.

Samples Samples Samples

Gets a collection containing the samples in the set.

SampleUnit SampleUnit SampleUnit

Gets a text description of the unit of measure for the sample values in this set.

SampleUnitCode SampleUnitCode SampleUnitCode

Gets the vocabulary code for the unit of measure for the sample values in this set.

Methods

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

Populates the data for the sample set from the XML.

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

Writes the sample set to the specified XML writer.

Applies to