Thread: delete property
View Single Post
  #2  
Old February 26th 07, 03:35 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default delete property

MAPI properties intrinsic to Outlook can't be deleted with PropertyAccessor. Consider using Redemption instead.

Still the wrong section, BTW. The program_addins and program_vba newsgroups are more appropriate for this type of coding question.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Nikolas" wrote in message ...
Hi,

Im using VSTO '05 SE with Visual studio '05 on C# to create an add-in for
Outlook '07. I'm trying to delete a property of a mail item using the
PropertyAccessor but I get the following exception:

[System.UnauthorizedAccessException] = {"The property
\"http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/85420003\" does not support this operation."}

Is there a way of deleting this property?

PS. I apologise for posting this question a 2nd time, it was posted on the
wrong section the 1st time.

Ads