I wrote an Outlook addon for 2007 using VSTO 3 and I had a hard time (not that hard) because Linq extensions for the outlook objects were not existent. Does VSTO 4 add support for Linq or is that a negative because it’s still just wrapped COM?
My biggest concern is dealing with contacts. If no Linq, then what is an easy way to query against an outlook collection? I’ve seen how you can filter messages based on a query sytaxt (ex: “[Unread]=true”). Whatever the solution it has to be fast. One client has 33k contacts and another has over 72k. Yes, it’s silly but that is how it is.
VSTO 3 doesnt offer GetEnumerator for can’t even use a foreach statement
Edit: I’m using Visual Studio 2010
Went ahead and solved my problem with the Linq extensions. http://programmersunlimited.wordpress.com/2011/01/08/linqqer-exposing-linq-extensions-on-non-ienumerableiqueriable-collections/