VSTO:托管文件夹文件夹添加事件
每当有人将文件夹拖放到(添加)到 Outook 文件夹(集合)中时,我想在 Outlook 中触发FolderAdd 事件。
如果文件夹集合来自收件箱,但如果我将其切换到托管文件夹及其子文件夹集合,则会触发FolderAdd 事件。假设托管文件夹 ->文件夹Foo。每当我将文件夹拖放到FolderFoo 中时,FolderAdd 事件都不会触发。
为什么托管文件夹的子文件夹的文件夹集合不会触发FolderAdd事件,但Inbox会触发?
我想做的是监视托管文件夹中的子文件夹,并检查每当有人将文件夹放入托管文件夹的FolderFoo 时它有多大。
I want to fire the FolderAdd event in Outlook whenever someone drag and drop (add) a folder into Outook Folders (collection)
The FolderAdd event triggered if the folders collection is from Inbox but if I switch it to Managed Folders and it's sub folder's collection. Let's say Managed Folders -> FolderFoo. The FolderAdd event will not fire whenever I drag and drop folder into FolderFoo.
Why Managed Folder's sub folder's folder collection doesn't trigger FolderAdd event but Inbox will?
What I'm trying to do is monitoring a sub folder in Managed Folders and check how big it get whenever someone drop a folder into the Managed Folder's FolderFoo.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论