Determine if a Folder contains a UserProperty

R

Rog

Is it possible to determine if a UserProperty exists in a folder without
looping through each item to check it's UserProperties?
Thanks
Rog
 
D

Dmitry Streblechenko

Not in Outlook Object Model. In Extended MAPI/CDO 1.21/Redemption, you can
check if the folder's associated (hidden) contents table contains a message
with the message class (PR_MESSAGE_CLASS) equal to "IPC.MS.REN.USERFIELDS".

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
A

Ariel

What about a specific UP? Do I have to venture into the PR_USERFIELDS
and locate it there?


Ariel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top