How to Store Objects in UserProperties

B

BigDubb

As part of a custom Appointment Form I would like to store either an object
or struct for some data to be displayed in a grid.

A pretty simple object, with just three properties.

I haven't found any documentation that allows for assigning custom objects
to UserProperties. Is this possible?

If not, is there any way to store a collection of items or would I need to
build all of the items into a string, with some delimiter, and split based on
that?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

Strings would most likely be the best approach. UserProperties can't take
objects.
 
S

Sue Mosher [MVP-Outlook]

In a string, a bit of XML might work nicely, as long as it's not too much
data. There's a 32kb limit on data stored in an item, excluding item body and
attachments.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

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