Calculating total size of mail items

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
 

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