当前位置: 动力学知识库 > 问答 > 编程问答 >

outlook - How to set the "Mark Completed" flag in Exchange 2007 w/SP2

问题描述:

Does anyone know how to programmatically set the "Mark Complete" flag in Exchange 2007 which makes a check mark appear in outlook. In outlook you can right click and select the "Mark Complete" option. I want to achieve this programmatically based on some conditions. Any ideas on how to do this would be greatly appreciated.

网友答案:

You have to use the ExtendedPropertyDefinition class:

//PidTagFlagCompleteTime

ExtendedPropertyDefinition epd_PidTagFlagCompleteTime = new ExtendedPropertyDefinition(0x1091, MapiPropertyType.SystemTime);


msg.SetExtendedProperty(epd_PidTagFlagCompleteTime, DateAndTime.Now);
分享给朋友:
您可能感兴趣的文章:
随机阅读: