ItemAttachment

The ItemAttachment element represents an Exchange item that is attached to another Exchange item.

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <Item/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <Message/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <CalendarItem/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <Contact/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <Task/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <MeetingMessage/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <MeetingRequest/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <MeetingResponse/>
</ItemAttachment>
<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Size/>
   <LastModifiedTime/>
   <IsInline/>
   <MeetingCancellation/>
</ItemAttachment>

ItemAttachmentType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
AttachmentId
Identifies the 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 to the contents of the 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.
Size
Represents the size in bytes of the file attachment.
LastModifiedTime
Represents when the attachment was last modified.
IsInline
Represents whether the attachment appears inline within an item.
Item
Represents a generic Exchange item attachment.
Message
Represents an Exchange e-mail message attachment.
CalendarItem
Represents an Exchange calendar item attachment.
Contact
Represents an Exchange contact item attachment.
Task
Represents an Exchange task attachment.
MeetingMessage
Represents a meeting in the Exchange store.
MeetingRequest
Represents a meeting request in the Exchange store.
MeetingResponse
Represents a meeting response in the Exchange store.
MeetingCancellation
Represents a meeting cancellation in the Exchange store.

Parent elements

Element Description
Attachments
Contains the items and/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.

Element information

Namespace
https://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also