Задайте вопросЗадайте вопрос
 

ОтвеченоOutlook object model - AppointmentItem.Copy returns MailItem object

  • 3 июля 2009 г. 18:09dkavicki Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    I'm copying outlook items from source pst to destination pst. Not all of them but some based on their entryId's.
    I have discovered a problem when trying to copy AppointmentItems in Deleted Items folder in the source Pst.
    I issue: object obj = appointmentItem.Copy() and then inspect obj for the type. It turns out obj is not AppointmentItem  but MailItem. Also I find the copy being created in Drafts folder in the source pst.

    Would anybody have an idea why Copy method invoked on AppointmentItem returns MailItem? This is really weird and unexplainable to me. Tried googling for more than a day and couldn't find any article adressing my problem.
    Thanks

Ответы

Все ответы