Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Determine if a Folder contains a UserProperty

Geek News

Determine if a Folder contains a UserProperty
Rog <rog_21[ at ]yahoo.com> 3/21/2006 8:55:49 PM
Is it possible to determine if a UserProperty exists in a folder without
looping through each item to check it's UserProperties?
Thanks
Rog
Re: Determine if a Folder contains a UserProperty
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 3/21/2006 11:11:56 PM
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

"Rog" <rog_21[ at ]yahoo.com> wrote in message
news:%23wG3ZnSTGHA.5900[ at ]tk2msftngp13.phx.gbl...
[Quoted Text]
> Is it possible to determine if a UserProperty exists in a folder without
> looping through each item to check it's UserProperties?
> Thanks
> Rog


Re: Determine if a Folder contains a UserProperty
"Ariel" <arielra[ at ]gmail.com> 4/9/2006 3:05:00 PM
What about a specific UP? Do I have to venture into the PR_USERFIELDS
and locate it there?


Ariel

Re: Determine if a Folder contains a UserProperty
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 4/10/2006 4:54:02 PM
Yes.

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

"Ariel" <arielra[ at ]gmail.com> wrote in message
news:1144595100.936586.238300[ at ]g10g2000cwb.googlegroups.com...
[Quoted Text]
> What about a specific UP? Do I have to venture into the PR_USERFIELDS
> and locate it there?
>
>
> Ariel
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net