Share via


_CalendarSharing Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see CalendarSharing.

The _CalendarSharing type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property CalendarDetail Returns or sets an OlCalendarDetail value indicating the level of detail for calendar items included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property EndDate Returns or sets a DateTime value that indicates the inclusive end date of the range of calendar items to be shared by the CalendarSharing object. Read/write.
Public property Folder Returns the Folder containing the calendar items to be shared by the CalendarSharing object. Read-only.
Public property IncludeAttachments Returns or sets a Boolean (bool in C#) value that indicates whether attachments for calendar items should be included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.
Public property IncludePrivateDetails Returns or sets a Boolean (bool in C#) value that indicates whether private details for calendar items should be included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.
Public property IncludeWholeCalendar Returns or sets a Boolean (bool in C#) value that indicates whether all calendar items in the folder should be included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property RestrictToWorkingHours Returns or sets a Boolean (bool in C#) value that indicates whether calendar items that do not occur within working hours should be included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property StartDate Returns or sets a DateTime value that indicates the inclusive start date of the range of calendar items to be shared by the CalendarSharing object. Read/write.

Top

Methods

  Name Description
Public method ForwardAsICal Forwards calendar information from the parent Folder of the CalendarSharing object as the payload of a MailItem.
Public method SaveAsICal Exports calendar information from the parent Folder of the CalendarSharing object as an iCalendar calendar (.ics) file.

Top

See Also

Reference

_CalendarSharing Interface

Microsoft.Office.Interop.Outlook Namespace