Comment Class

Definition

Information related to a comment.

public class Comment : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Comment()

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

Comment(​Approximate​Date​Time, ​String)

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

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Category

Gets or sets the category of the comment.

Content

Gets or sets the text content of this comment.

When

Gets or sets the date and time associated with the comment.

Methods

Parse​Xml(​IX​Path​Navigable)

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

To​String()

Gets a string representation of the comment.

Write​Xml(​Xml​Writer)

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