MessageAttachment Class

Definition

An attachment to the message.

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

Constructors

MessageAttachment()

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

MessageAttachment(String, String, Boolean)

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

Properties

BlobName

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

ContentId

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

InlineDisplay

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

ParseXml(XPathNavigator)

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

ToString()

Gets a string representation of the MessageAttachment.

WriteXml(String, XmlWriter)

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