Iterate Properties on ContactItem 
Author Message
 Iterate Properties on ContactItem

Any help appreciated

Question: How so I iterate through a MapiFolder.ContactItem 's properties
(attributes).

Background: I am trying to make a wrapper to make an ADODB.recordset out of
a Outlook Contact Folder items.

I have created a ContactItem, now I want to retrieve all the properties of
that item, but there is no collection for the 109 ContactItem
Properties(Attributes).

Of course I could retrieve each property explicitly, but I would rather
iterate through a list to minimise maintenance. (ie for each xx in
objContacts).

Does anyone have experiance in working with these attributes? I can provide
you my code so far if you are interested in helping work this out.

Thanks

Jeff



Tue, 14 Oct 2003 16:13:15 GMT  
 Iterate Properties on ContactItem
You must retrieve the properties explicitly unless you're developing
exclusively with Outlook 2002, which provides an ItemProperties collection.
--
Sue Mosher, Outlook MVP
Author of
     Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
     Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> Any help appreciated

> Question: How so I iterate through a MapiFolder.ContactItem 's properties
> (attributes).

> Background: I am trying to make a wrapper to make an ADODB.recordset out
of
> a Outlook Contact Folder items.

> I have created a ContactItem, now I want to retrieve all the properties of
> that item, but there is no collection for the 109 ContactItem
> Properties(Attributes).

> Of course I could retrieve each property explicitly, but I would rather
> iterate through a list to minimise maintenance. (ie for each xx in
> objContacts).

> Does anyone have experiance in working with these attributes? I can
provide
> you my code so far if you are interested in helping work this out.

> Thanks

> Jeff



Tue, 14 Oct 2003 19:37:44 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to iterate through ContactItem properties?

2. Limit to Body property of ContactItem

3. FileAs property of ContactItem

4. ContactItem Properties

5. Default property for a contactitem

6. Limit on Body property of ContactItem

7. Iterating a form's property values

8. iterating database properties?

9. Iterate through custom properties from VBA?

10. Q: Iterate a controls properties at runtime?

11. Iterating through the properties of an object?

12. Iterate through an object's properties (any object)

 

 
Powered by phpBB® Forum Software