Partager via


CalendarSharing Members

Include Protected Members
Include Inherited Members

Represents a set of utilities for sharing calendar information.

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. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
Public property Folder Returns the Folder containing the calendar items to be shared by the CalendarSharing object. Read-only. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _CalendarSharing.)
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. (Inherited from _CalendarSharing.)

Top

Methods

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

Top

See Also

Reference

CalendarSharing Interface

Microsoft.Office.Interop.Outlook Namespace