MAPIFolder.GetCalendarExporter Method
Creates a CalendarSharing object for the specified Folder.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Function GetCalendarExporter As CalendarSharing
'Usage
Dim instance As MAPIFolder
Dim returnValue As CalendarSharing
returnValue = instance.GetCalendarExporter()
CalendarSharing GetCalendarExporter()
Return Value
Type: Microsoft.Office.Interop.Outlook.CalendarSharing
A CalendarSharing object for the specified folder.
Remarks
The GetCalendarExporter method automatically sets the defaults for the CalendarSharing class to the standard default options used by the Folder object. The GetCalendarExporter method can only be used on calendar folders. An error occurs if you use the method on Folder objects that represent other folder types.
Note
In Outlook 2007, the CalendarSharing object only supports exporting the iCalendar (.ics) file format.