Get grouped by mail items

  • Thread starter Thread starter j
  • Start date Start date
J

j

Hi All,


I'm using vsto 2005 c# .net 2.0.

How it possible to get items collection as them appear in view e.g. in
folder MyFolder mail items groupe by From and Size columns, how can i
get this items collection and over on it.




Tnx in advance.
 
You can't get whatever is in the view, only a filtered set of items or all
items or the selected items. If you read the current view and reverse
engineer any view filter that's set and then apply the same filter to the
Items collection of the folder you can do it, but none of that is documented
that I'm aware of.
 
Thanks,

1. So in whcich order i get the itmes colelction?? mapiFolder.items
Randomaly ???

2. Maybe Redemption will help me in some way ???






Tnx in advance.
 
There is nothing that will let you get the items in a view other than what I
said that I know of. When you get an Items collection it will be in the
order in which the items were created in the folder, sorted up or down
depending on how you sort or don't sort the Items collection.
 
Back
Top