Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Get grouped by mail items (http://www.outlookbanter.com/add-ins-outlook/51214-get-grouped-mail-items.html)

j June 25th 07 03:55 PM

Get grouped by mail items
 
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.


Ken Slovak - [MVP - Outlook] June 25th 07 10:02 PM

Get grouped by mail items
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"j" wrote in message
oups.com...
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.



j June 26th 07 07:57 AM

Get grouped by mail items
 
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.


Ken Slovak - [MVP - Outlook] June 26th 07 02:07 PM

Get grouped by mail items
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"j" wrote in message
ups.com...
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.




All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com