问题描述
我正在使用VSTO为outlook创建一个插件。我可以在约会窗口中添加自定义任务窗格。自定义任务窗格窗口有一个下拉列表。我想在用户更改下拉列表中的选定项目后更新约会正文中的文本。
我无法弄清楚如何从自定义任务窗格中访问约会对象。
Dim inspector As Outlook.Inspector = ??? ;  
Dim apptItem As Outlook.AppointmentItem = TryCast(inspector.CurrentItem,Outlook.AppointmentItem)
非常感谢任何帮助。
非常感谢提前。
I am using VSTO to create a plugin for outlook. I am able to add custom task pane in appointment window. Custom task pane window has a dropdown list. I want to update the text in appointment body after user change the selected item in dropdown list.
I am not able to figure out how to access the appointment object from custom task pane.
Dim inspector As Outlook.Inspector = ???
Dim apptItem As Outlook.AppointmentItem = TryCast(inspector.CurrentItem, Outlook.AppointmentItem)
Any help would be much appreciated.
Many thanks in advance.
这篇关于如何从自定义任务窗格中访问Outlook约会项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!