I have code that gets and uses the NavigationGroup from the CalendarModule. It looks like this:
Dim oNavModule = MyOfficeApp.ActiveExplorer().NavigationPane.Modules.GetNavigationModule(OlNavigationModuleType.olModuleCalendar)
Dim oNavGroup = oNavModule.NavigationGroups(_name)
This code works fine and the NavigationModule returned from GetNavigationModule() is successfully casted into the CalendarModule variable when using the Microsoft.Office.Interop.Outlook for Outlook 2010, 2013, and 2016. After switching to use NetOffice.OutlookApi,
I am getting a compile time error saying NavigationModule cannot be casted into a CalendarModule.
After playing with it for a while, I was unable to find any way of getting the NavigationGroup from the CalendarModule.
Can you think of anything that I may be able to try?
I have been switching over to NetOffice for a few weeks now and this is the first issue I have been unable to solve myself. I really like and appreciate the NetOffice apis and all the work gone into them.