Dela via


ItemChange

Topic Last Modified: 2006-06-11

The ItemChange element contains an item identifier and the updates to apply to the item.

Schema Hierarchy

UpdateItem
  ItemChanges
    ItemChange

Syntax

<ItemChange>
   <ItemId/>
   <Updates>...</Updates>
</ItemChange>

<ItemChange>
   <OccurrenceItemId>...</OccurrenceItemId>
   <Updates>...</Updates>
</ItemChange>

<ItemChange>
   <RecurringMasterItemId>...</RecurringMasterItemId>
   <Updates>...</Updates>
</ItemChange>

Type

ItemChangeType

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

ItemId

Contains the unique identifier and change key of an item in the Exchange store. This element is required if the OccurrenceItemId or RecurringMasterItemId element is not used.

OccurrenceItemId

Identifies a single occurrence of a recurring item. This element is required if used. This element is required if the RecurringMasterItemId or ItemId element is not used.

RecurringMasterItemId

Identifies a recurrence master item by identifying one of its related occurrence items' identifiers. This element is required if used. This element is required if the OccurrenceItemId or ItemId element is not used.

Updates (Item)

Contains an array that defines append, set, and delete changes to item properties. This element is required.

Parent Elements

Element Description

ItemChanges

Contains an array of ItemChange elements that identify items and the updates to apply to the items.

The following is the XPath expression to this element:

/UpdateItem/ItemChanges

Remarks

Only a single ItemId, OccurrenceItemId, or RecurringMasterItemId element can be used in an ItemChange element.

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

Reference

UpdateItem Operation