ItemAttachment

Topic Last Modified: 2007-02-02

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

Syntax

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Item/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Message/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <CalendarItem/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Contact/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <Task/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <MeetingMessage/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <MeetingRequest/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <MeetingResponse/>
</ItemAttachment>

<ItemAttachment>
   <AttachmentId/>
   <Name/>
   <ContentType/>
   <ContentId/>
   <ContentLocation/>
   <MeetingCancellation/>
</ItemAttachment>

Type

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.

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.

Remarks

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.

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

Other Resources

Exchange Web Services XML Elements