Outlook Add-in(COM加载项)技术指南(四)[4]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 zhengyun_ustc 的 blog

ø         ipm.contact              联系人

ø         ipm.stickynote  便笺

ø         ipm.appointment     日程

 

对于不同类型item对象,我们获取它的不同属性。

代码如下所示:

' ------------------------------------------------------------------

    '

    ' 如果选中了一项:

    '   那么首先判断是否是一封邮件,即oitem.messageclass"ipm.note"

    '

    for each oitem in oselection

        if oitem.messageclass = "ipm.note" then

           

            ' get the current mail item

            dim ocurmail as outlook.mailitem

            set ocurmail = oitem

           

本文关键:Outlook Addin COM Office
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top