Tuesday, 15 May 2012

properties - PropertyAccessor Outlook -



properties - PropertyAccessor Outlook -

class="lang-c# prettyprint-override">propertyaccessor opa = outlookitem.propertyaccessor; opa.setproperty("http://schemas.microsoft.com/mapi/string/{fff40745-d92f-4c11-9e14-92701f001eb3}/id", "100"); var val = opa.getproperty("http://schemas.microsoft.com/mapi/string/{fff40745-d92f-4c11-9e14-92701f001eb3}/id");

when seek on own calendar (outlookitem) created in calendar works fine. when add together colleagues calendar outlook @ seek there next exception, when calling getproperty.

any ideas?

an exception of type 'system.runtime.interopservices.comexception' occurred in *** not handled in user code additional information: property "http://schemas.microsoft.com/mapi/string/{fff40745-d92f-4c11-9e14-92701f001eb3}/id" unknown or cannot found.

had save item before accessing property. not works.

properties outlook

No comments:

Post a Comment