![]() |
User property for folder
Hi,
I want to add user property in a outlook folder item. I have found one property namely 'Outlook.MAPIFolder.UserDefinedProperties'. But the problem with this property is it sets the property to every email item in the folder. Can I have such a property on folder which is set only on folder? |
User property for folder
Folder.PropertyAccessor is the correct object for that task.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Sandeep K" wrote: Hi, I want to add user property in a outlook folder item. I have found one property namely 'Outlook.MAPIFolder.UserDefinedProperties'. But the problem with this property is it sets the property to every email item in the folder. Can I have such a property on folder which is set only on folder? |
User property for folder
What exactly do you nee that property for?
Keep in mind that most folder don't allow named properties on the fodler object per-se, so in most cases hidden (associated) messages are used to store per-folder specific data. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Sandeep K" wrote in message ... Hi, I want to add user property in a outlook folder item. I have found one property namely 'Outlook.MAPIFolder.UserDefinedProperties'. But the problem with this property is it sets the property to every email item in the folder. Can I have such a property on folder which is set only on folder? |
All times are GMT +1. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com