_CalendarSharing.ForwardAsICal(OlCalendarMailFormat) _CalendarSharing.ForwardAsICal(OlCalendarMailFormat) _CalendarSharing.ForwardAsICal(OlCalendarMailFormat) Method

Definition

Forwards calendar information from the parent Folder of the CalendarSharing object as the payload of a MailItem.

public:
 Microsoft::Office::Interop::Outlook::MailItem ^ ForwardAsICal(Microsoft::Office::Interop::Outlook::OlCalendarMailFormat MailFormat);
public Microsoft.Office.Interop.Outlook.MailItem ForwardAsICal (Microsoft.Office.Interop.Outlook.OlCalendarMailFormat MailFormat);
Public Function ForwardAsICal (MailFormat As OlCalendarMailFormat) As MailItem

Parameters

MailFormat
OlCalendarMailFormat OlCalendarMailFormat OlCalendarMailFormat

Determines the format of the calendar information in the body of the MailItem created by this method.

Returns

A MailItem object that represents the new mail item to which the calendar information is attached.

Remarks

The ForwardAsICal method provides a single method by which you can use payload sharing to share a calendar with other users. The method:

Applies to