Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Type t = SomeOutlookObject.GetType();
- string messageClass = t.InvokeMember("MessageClass",
- BindingFlags.Public |
- BindingFlags.GetField |
- BindingFlags.GetProperty,
- null,
- SomeOutlookObject,
- new object[]{}).ToString();
- Console.WriteLine("tType: " + messageClass);
Add Comment
Please, Sign In to add comment