C# Outlook Interop:有没有办法在创建新日历项目时收到通知?
C# Outlook Interop: Is there a way to get notified on new calender item creation?
Outlook Interop 有这两个事件:
new Application().NewMail
new Application().NewMailEx
但我找不到日历项创建事件的等效项。轮询是获得通知的唯一方式吗?
在日历文件夹上使用 Items.ItemAdd
事件(使用 Namespace.GetDefaultFolder(olFolderCalendar)
检索)。
Outlook Interop 有这两个事件:
new Application().NewMail
new Application().NewMailEx
但我找不到日历项创建事件的等效项。轮询是获得通知的唯一方式吗?
在日历文件夹上使用 Items.ItemAdd
事件(使用 Namespace.GetDefaultFolder(olFolderCalendar)
检索)。