RDOSyncMessageItem object

 

RDOSyncMessageItem object represents a changed message (added/modified/deleted) in a folder .

 

Returned by:

RDOSyncMessagesCollection.Item

 

See RDOFolderSynchronizer for an example.

 


Derived from: IDispatch


Properties


ChangeKey

String, read-only. Returns the value of the PR_CHANGE_KEY property.

 

 

EntryID

String, read-only, Returns the value of the entry id (PR_ENTRYID) of the message. The value is a combination of the source key (PR_SOURCE_KEY) of the message and its parent folder.

 

 

IsNewMessage

boolean. read-only. True if this is a newly added message, false otherwise.

This property is valid only if Kind = sikChanged.

 

 

Item

RDOMail, read-only. Returns the corresponding message. Note that an exception will be raised for the deleted items (Kind = sikDeleted)

 

 

Kind

rdoSyncItemKind, Read-only. Returns the kind of the modification.

To distinguish between new messages and modified existing messages (in both cases Kind = sikChanged), use the IsNewMessage property (see above).

 

sikChanged = 0
sikDeleted = 1
sikReadStatusChanged = 2

 

 

LastModificationTime

DateTime, read-only. Returns the time of the modification, corresponds to the PR_LAST_MODIFICATION_TIME property.

 

 

SourceKey

String, read-only. Returns the value of the PR_SOURCE_KEY property uniquely identifying the message.

Also see RDOExchangeStore.GetMessageFromSourceKey