Whenever you need a custom property, it must be a named property (see
http://www.dimastr.com/redemption/utils.htm#xmapi and scroll to the Named
Properties section) to make sure it does not conflict with anybody's else
property.
Also note that while folders in PST stores support named properties,
Exchange folders do not.
The standard way to store folder-wide properties is to create a hidden
(associated) message in that folder with a custom message class and use it
to store the data - see RDOFolder.HiddenItems
(
http://www.dimastr.com/redemption/rdo/RDOFolder.htm)
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"j" wrote in message
oups.com...
Hi,
In order to store my own custom data with an item i used named
properties, and add them via REDEMPTION .HrSetOneProp method ,
is the same possible with folder, and how????
I want create custom property to ost folder e.g. userID property.
By using .HrSetOneProp .. .. .... and passing folder obbject end
up with exception.
Anyone????
TNX in Advance.