扩展Oulook 2010附件的上下文菜单 [英] Extending the Oulook 2010 attachment context menu

查看:134
本文介绍了扩展Oulook 2010附件的上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我延长对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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆