Düzenle

Aracılığıyla paylaş


Attachments

The Attachments element contains the items or files that are attached to an item in the Exchange store.

<Attachments>
   <ItemAttachment/>
   <FileAttachment/>
</Attachments>

ArrayOfAttachmentsType and NonEmptyArrayOfAttachmentsType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
ItemAttachment
Represents an Exchange item that is attached to another Exchange item.
FileAttachment
Represents a file that is attached to an item in the Exchange store.

Parent elements

Element Description
CreateAttachment
Defines a request to create an attachment to an item in the Exchange store.

The following is the XPath expression to this element: /CreateAttachment
AcceptItem
Represents an Accept reply to a meeting request.

The following are some of the XPath expressions to this element:
  • /CreateItem/Items
  • /MeetingRequest/ConflictingMeetings
  • /SetItemField/CalendarItem/ConflictingMeetings
  • /AppendToItemField/CalendarItem/ConflictingMeetings
  • /AcceptItem/Attachments/ItemAttachment/CalendarItem/ConflictingMeetings
  • /DeclineItem/Attachments/ItemAttachment/CalendarItem/ConflictingMeetings
  • /UpdateItem/ItemChanges/ItemChange/Updates/AppendToItemField/CalendarItem/AdjacentMeetings
  • /CreateAttachmentResponseMessage/Attachments/ItemAttachment/CalendarItem/AdjacentMeetings
  • /GetAttachmentResponseMessage/Attachments/ItemAttachment/CalendarItem/AdjacentMeetings
DeclineItem
Represents a Decline reply to a meeting request.
TentativelyAcceptItem
Represents a Tentative reply to a meeting request.
RemoveItem
Removes an item from the Exchange store.
Item
Represents a generic Exchange item.
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.
Message
Represents an Exchange e-mail message.
Task
Represents a task in the Exchange store.
CalendarItem
Represents an Exchange calendar item.
Contact
Represents an Exchange contact item.
DistributionList
Represents a distribution list.
CreateAttachmentResponseMessage
Contains the status and result of a single CreateAttachment request.
GetAttachmentResponseMessage
Contains the status and result of a GetAttachment request.

Remarks

The Attachments elements have the same child elements but are based on different types: ArrayOfAttachmentsType and NonEmptyArrayOfAttachmentsType. The types define whether a child element is required. The ArrayOfAttachmentsType is only used in the response message. It is also important to note that these elements occur in both the messages and types namespaces.

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

Element information

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

See also