code_junkie

Using CreateItemFromTemplate to process an olEmbeddeditem Outlook attachment

Nov 10th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Type t = SomeOutlookObject.GetType();
  2. string messageClass = t.InvokeMember("MessageClass",
  3. BindingFlags.Public |
  4. BindingFlags.GetField |
  5. BindingFlags.GetProperty,
  6. null,
  7. SomeOutlookObject,
  8. new object[]{}).ToString();
  9. Console.WriteLine("tType: " + messageClass);
Add Comment
Please, Sign In to add comment