![]() |
Difference between UserProperties and ItemProperties?
1. Is the UserProperties collection simply a subset of ItemProperties?
2. When you send an AppointmentItem do UserProperty objects and ItemProperty objects get transferrred to the MeetingItem that arrives in the recipient's inbox? |
Difference between UserProperties and ItemProperties?
1. UserProperties is a subset of ItemProperties, although you can only
add/remove UserProperties. You check that with the IsUserProperty Boolean property. The ItemProperties collection is zero based, the count doesn't start at 1, it starts at 0, unlike UserProperties which starts at 1. 2. Try it and see. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tadwick" wrote in message ... 1. Is the UserProperties collection simply a subset of ItemProperties? 2. When you send an AppointmentItem do UserProperty objects and ItemProperty objects get transferrred to the MeetingItem that arrives in the recipient's inbox? |
Difference between UserProperties and ItemProperties?
Thanks, Ken
"Ken Slovak - [MVP - Outlook]" wrote: 1. UserProperties is a subset of ItemProperties, although you can only add/remove UserProperties. You check that with the IsUserProperty Boolean property. The ItemProperties collection is zero based, the count doesn't start at 1, it starts at 0, unlike UserProperties which starts at 1. 2. Try it and see. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tadwick" wrote in message ... 1. Is the UserProperties collection simply a subset of ItemProperties? 2. When you send an AppointmentItem do UserProperty objects and ItemProperty objects get transferrred to the MeetingItem that arrives in the recipient's inbox? |
Difference between UserProperties and ItemProperties?
Actually UserProperties collection is really created on top of a special
blob that stores user propery definition. If a property is in the UserProperties collection, there is guarantee that it will be actually have a value (which is stored as a named MAPI property). If you have a custom message class, UserProperties colelction will also contain the custom properties associated with that form (IMAPIFormInfo::CalcFormPropSet() on the Extended MAPI level), and, again, it is not guaranteed that any particular property will actually be set on the item. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ken Slovak - [MVP - Outlook]" wrote in message ... 1. UserProperties is a subset of ItemProperties, although you can only add/remove UserProperties. You check that with the IsUserProperty Boolean property. The ItemProperties collection is zero based, the count doesn't start at 1, it starts at 0, unlike UserProperties which starts at 1. 2. Try it and see. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tadwick" wrote in message ... 1. Is the UserProperties collection simply a subset of ItemProperties? 2. When you send an AppointmentItem do UserProperty objects and ItemProperty objects get transferrred to the MeetingItem that arrives in the recipient's inbox? |
Difference between UserProperties and ItemProperties?
Ken,
I did try and UserProperties appear to be contained in the meeting item that is sent to a recipient; however, the object type for retrieving UserProperties is olMeeting when the invitation arrives and olAppointment once the invitation has been accepted. So, it makes it a bit more difficult to manage but it is doable. "Ken Slovak - [MVP - Outlook]" wrote: 1. UserProperties is a subset of ItemProperties, although you can only add/remove UserProperties. You check that with the IsUserProperty Boolean property. The ItemProperties collection is zero based, the count doesn't start at 1, it starts at 0, unlike UserProperties which starts at 1. 2. Try it and see. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tadwick" wrote in message ... 1. Is the UserProperties collection simply a subset of ItemProperties? 2. When you send an AppointmentItem do UserProperty objects and ItemProperty objects get transferrred to the MeetingItem that arrives in the recipient's inbox? |
All times are GMT +1. The time now is 05:07 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