編輯

共用方式為


MAPIFolder.GetCalendarExporter Method

Definition

Creates a CalendarSharing object for the specified Folder.

public:
 Microsoft::Office::Interop::Outlook::CalendarSharing ^ GetCalendarExporter();
public Microsoft.Office.Interop.Outlook.CalendarSharing GetCalendarExporter ();
Public Function GetCalendarExporter () As CalendarSharing

Returns

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: The CalendarSharing object only supports exporting the iCalendar (.ics) file format.

Applies to