Message​Attachment Class

Definition

An attachment to the message.

public class MessageAttachment : Microsoft.Health.ItemTypes.HealthRecordItemData
Inheritance
MessageAttachment

Constructors

Message​Attachment()

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

Message​Attachment(​String, ​String, ​Boolean)

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

Properties

Blob​Name

Gets or sets the name of the blob storing the attachment.

Content​Id

Gets or sets the content identifier for attachments that will be displayed inline with the text.

Inline​Display

Gets or sets whether the attachment is intended to be displayed inline with the text.

Name

Gets or sets the name of the attachment.

Methods

Parse​Xml(​XPath​Navigator)

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

To​String()

Gets a string representation of the MessageAttachment.

Write​Xml(​String, ​Xml​Writer)

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