Alright. In Outlook, if I want to arrange my tasks by categories, I can go View-Arrange By-Categories.
My question is, is there anyway to do this programatically?
Thanks a bundle.
Alright. In Outlook, if I want to arrange my tasks by categories, I can go View-Arrange By-Categories.
My question is, is there anyway to do this programatically?
Thanks a bundle.
I'm not sure what you want. If you want your tasks to be arranged and you're using Outlook to view your tasks, why not use Outlook to arrange your tasks as well? If you aren't using Outlook to view your tasks, you can use COM interop to access Outlook items such as your email and tasks.
Yes, I know that I should use the Interop.Outlook lib, but could you be more specific? I just want to save the users of a plug-in I'm making some hassle...
I tried sorting the Items array of the task folder, but they can't sort by category O.o Hence my need to arrange by.
Thanks for the help!
Consider using Array.Sort<T>(T[], Comparison<T>) or Array.Sort<T>(T[], IComparer<T>) to define your custom comparison logic.
There's an issue in that, since Outlook.Items is not an array.
Yes, I could convert that into an array, but then the changes will not be implemented in outlook! :(
I really appreciate your help though ^.^