View Single Post
  #5  
Old June 26th 07, 06:02 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to speed up MailItems access

I am not sure what you mean - SetColumns in OOM does not return anything; it
simply tells Outlook which properties you are planning to access later from
the Items collection so that Outlook can make sure these properties get
cached from the underlying MAPI table.

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

"Ivan" wrote in message
...
Thanks, Dmitry!
When I tried to use this method in OOM it always returns null. I don't
know
why.
Using MAPI, IMAPITable.SetColumns works fine.



Ads