We’ve Updated
QuestionHub 2.0 has been launched!
Click here to read about our changes!
QuestionHub is a one-stop shop for finding all things Q&A online. Use QuestionHub as a starting point when searching for answers online!
? mi.GetType().GetProperty("Subject")
null
?(mi as Microsoft.Office.Interop.Outlook.MailItem).Subject
"Test Subject"
void Application_ItemSend(object Item, ref bool Cancel)
{
if (Item is Microsoft.Office.Interop.Outlook.MailItem)
{
Microsoft.Office.Interop.Outlook.MailItem currentItem =
Item as Microsoft.Office.Interop.Outlook.MailItem;
http://stackoverflow.com/questions/4185899/how-do-i-handle-outlooks-vs to-objects-as-if-they-are-mailitems
MailItem or an AppointmentItem but once created, they look the same from the outside of the SendableItem of the box - AppointmentItem are completely different interfaces, so polymorphism is not an that you create a SendableItem and MailItem option. Related Questions

Visit Yahoo! Answers
Software - 846 days ago - 0 Answers