A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Difference between UserProperties and ItemProperties?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 22nd 09, 03:11 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default 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?
Ads
  #2  
Old May 22nd 09, 03:28 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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?


  #3  
Old May 22nd 09, 05:02 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default 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?



  #4  
Old May 23rd 09, 02:09 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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?




  #5  
Old May 25th 09, 07:48 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default 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?



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
More on UserProperties Steve Add-ins for Outlook 13 November 21st 07 12:12 AM
C# ItemProperties not getting saved Kulvinder Add-ins for Outlook 2 August 7th 07 09:24 AM
UserProperties j Add-ins for Outlook 0 February 12th 07 08:06 AM
UserProperties for New Items dch3 Outlook and VBA 2 December 18th 06 07:46 PM
VB.net Cannot add userproperties Ben Add-ins for Outlook 2 February 24th 06 11:32 AM


All times are GMT +1. The time now is 08:05 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-2025 Outlook Banter.
The comments are property of their posters.