EnjoySharePoint YouTube Channel

Read all outlook calendar items using C#.net using outlook APIs

In this post, we will discuss how to read all outlook calendar items using C#.Net using outlook APIs. Also, you can check out my previous posts on:
Here is the sample code to read all the outlook calendar item using c#.net.
using Outlook = Microsoft.Office.Interop.Outlook;
using Office = Microsoft.Office.Core;
        Microsoft.Office.Interop.Outlook.Application app = null;
        NameSpace ns = null;
        private static Outlook.MAPIFolder calendar = null;
        private Outlook.Items appointments = null;
        app = this.Application;
        ns = app.GetNamespace(“mapi”);
        ns.Logon(“”, “”, true, true);
        calendar = ns.GetDefaultFolder( OlDefaultFolders. olFolderCalendar);
        appointments = calendar.Items;
Check out Best Alternative to InfoPath -> Try Now
You May Also like the Following SharePoint Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →