View Single Post
  #1  
Old September 17th 08, 01:41 AM posted to microsoft.public.outlook.program_addins
Stuart Parker
external usenet poster
 
Posts: 15
Default Calculating total size of mail items

Hi,

I'm developing an add-in for Outlook 2007 in VB using VSTO 2007 and VS2008
SP1

I have obtained a collection of mail items by using the restrict method on
the inbox (Items older than a particular date)

I need to get the total size of all the mail items in this collection. Is
there a quicker/more accepted method of doing this instead of iterating the
collection with a For Each, and adding the size of each item to a counter
variable ?

Thanks

Ads