MessageAttachment MessageAttachment MessageAttachment Class

Definition

An attachment to the message.

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

Constructors

MessageAttachment() MessageAttachment() MessageAttachment()

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

MessageAttachment(String, String, Boolean) MessageAttachment(String, String, Boolean) MessageAttachment(String, String, Boolean)

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

Properties

BlobName BlobName BlobName

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

ContentId ContentId ContentId

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

InlineDisplay InlineDisplay InlineDisplay

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

Name Name Name

Gets or sets the name of the attachment.

Methods

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

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

ToString() ToString() ToString()

Gets a string representation of the MessageAttachment.

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

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

Applies to