_CalendarSharing.ForwardAsICal(OlCalendarMailFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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: