c# - Outlook 2013 Add-In MailItem -
i created outlook 2013 addin should read "location" field of e-mail. achieved selected mailitem , read subject there way read "location" field of meeting e-mail?
i hope able me
assign mailitem
object appointmentitem
object access location
property:
using outlook = microsoft.office.interop.outlook; .... outlook.appointmentitem app; outlook.mailitem mi; string loc; ..... app = (outlook.appointmentitem)mi; loc = app.location; // or loc = ((outlook.appointmentitem)mi).location;
Comments
Post a Comment