简体   繁体   中英

How to Trigger an event in a Visual Studio Outlook Add-in

I am currently working on a Visual Studio VSTO C# Outlook Add-in project to open a specific type of file from an email when the file is double-clicked, and have it pop up in a new window. How do I handle the double-click function?

It is not clear what files you're speaking of. In case of attachments, you can use the BeforeAttachmentRead , BeforeAttachmentSave , and BeforeAttachmentPreview events provided by all Outlook item types. The Outlook object model doesn't provide any special event when you double click on the attached files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM