This documentation is archived and is not being maintained.

FileAttachment

Topic Last Modified: 2007-10-18

The FileAttachment element represents a file that is attached to an item in the Exchange store.


<FileAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Content/>
</FileAttachment>

FileAttachmentType

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

AttachmentId

Identifies the file attachment.

Name (AttachmentType)

Represents the name of the attachment.

ContentType

Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content.

ContentId

Represents an identifier for the contents of an attachment. ContentId can be set to any string value. Applications can use ContentId to implement their own identification mechanisms.

ContentLocation

Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment.

Content

Contains the Base64-encoded contents of the file attachment.

Parent Elements

Element Description

Attachments

Contains the items or files that are attached to an item in the Exchange store.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Namespace

http://schemas.microsoft.com/exchange/services/2006/types

Schema name

Types schema

Validation file

Types.xsd

Can be empty

False

Show: