开发者

Extending the Oulook 2010 attachment context menu

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 sel开发者_如何学JAVAected attachments from here?


Ok, got it. http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_AttachmentContextMenu

says

IRibbonControl.Context

AttachmentSelection object

so =>

var attachmentSelection = (control.Context as AttachmentSelection).OfType<Attachment>();

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜