扩展Oulook 2010附件的上下文菜单 [英] Extending the Oulook 2010 attachment context menu
问题描述
我延长对XML在Outlook 2010中的附件显示的文本菜单。到目前为止,我有一个按钮,为的OnAction事件的处理程序。任何人可以帮助我如何从这里得到currrently选择的附件?
I am extending the contextmenu shown for attachments in Outlook 2010 in xml. So far i've got a button and a handler for the onAction event. Could anybody help me on how to get the currrently selected attachments from here?
推荐答案
好,知道了。 http://msdn.microsoft.com/en-us/library/ee692172 #的.aspx OfficeOLExtendingUI_AttachmentContextMenu
Ok, got it. http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_AttachmentContextMenu
说:
IRibbonControl.Context
IRibbonControl.Context
AttachmentSelection对象
AttachmentSelection object
所以=>
VAR attachmentSelection =(control.Context为AttachmentSelection).OfType<&附件GT;();
这篇关于扩展Oulook 2010附件的上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!