Calculating total size of mail items

  • Thread starter Thread starter Stuart Parker
  • Start date Start date
S

Stuart Parker

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
 
Back
Top