Jason Ihaia
Posts: 2
Joined: 2005-03-03
|
I have the task of dymanically getting properties from an Outlook item via reflection. I see that in the PIAs for 2007, there is an object called PropertyAccessor which enables you to get/set a property against an item programmitcally. I notice this is not available in the ADX Interop.Outlook.dll.
Has anyone had experience using this?? I can reference it, and get an instance of it, not able to use it though.
i.e.
PropertyAccessor pa = myContactItem.PropertyAccessor;
object value = pa.GetProperty("FirstName");
-- it fails on the pa.GetProperty call - there is however a reference for pa.
Thoughts.... |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Jason.
You just need to use PIAs for Outlook 2007 (not version-neutral PIAs).
P.S. We always do our best to answer your forum requests as soon as possible. However, we apply the rule "first in first out" with Premium Support Service subscribers taking priority. Please understand it may take us some time to do research on the issue. Please be assured we will let you know as soon as the best possible solution is found.
|
|