FileAttachment
Last modified: May 25, 2010
Applies to: Exchange Server 2007 | Exchange Server 2010
The FileAttachment element represents a file that is attached to an item in the Exchange store.
<FileAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <IsContactPhoto/>
   <Content/>
</FileAttachment>
FileAttachmentType
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
| Element | Description | 
|---|---|
| Identifies the file attachment. | |
| Represents the name of the attachment. | |
| Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content. | |
| 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. | |
| Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. | |
| Represents the size in bytes of the file attachment. | |
| Represents when the file attachment was last modified. | |
| Represents whether the attachment appears inline within an item. | |
| Indicates whether the file attachment is a contact picture. | |
| Contains the Base64-encoded contents of the file attachment. | 
Parent Elements
| Element | Description | 
|---|---|
| Contains the items or files that are attached to an item in the Exchange store. | 
Text Value
None.
Remarks
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services of the Client Access server.
Element Information
| Namespace | https://schemas.microsoft.com/exchange/services/2006/types | 
| Schema name | Types schema | 
| Validation file | Types.xsd | 
| Can be empty | False |