.NET: Get all Outlook calendar items
Posted
by Qinnie
on Stack Overflow
See other posts from Stack Overflow
or by Qinnie
Published on 2008-09-18T08:19:35Z
Indexed on
2010/06/09
23:32 UTC
Read the original article
Hit count: 151
How can I get all items from a specific calendar (for a specific date). Lets say for instance that I have a calendar with a recurring item every Monday evening. When I request all items like this:
CalendarItems = CalendarFolder.Items;
CalendarItems.IncludeRecurrences = true;
I only get 1 item...
Is there an easy way to get all items (main item + derived items) from a calendar? In my specific situation it can be possible to set a date limit but it would be cool just to get all items (my recurring items are time limited themselves).
I'm using the Microsoft Outlook 12 Object library (Microsoft.Office.Interop.Outlook).
© Stack Overflow or respective owner