Upravit

Sdílet prostřednictvím


_CalendarSharing Interface

Definition

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.

public interface class _CalendarSharing
[System.Runtime.InteropServices.Guid("000630E2-0000-0000-C000-000000000046")]
public interface _CalendarSharing
Public Interface _CalendarSharing
Derived
Attributes

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

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(OlCalendarMailFormat) or SaveAsICal(String) methods of the CalendarSharing object. Read/write.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

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.

Folder

Returns the Folder containing the calendar items to be shared by the CalendarSharing object. Read-only.

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(OlCalendarMailFormat) or SaveAsICal(String) methods of the CalendarSharing object. Read/write.

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(OlCalendarMailFormat) or SaveAsICal(String) methods of the CalendarSharing object. Read/write.

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(OlCalendarMailFormat) or SaveAsICal(String) methods of the CalendarSharing object. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

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(OlCalendarMailFormat) or SaveAsICal(String) methods of the CalendarSharing object. Read/write.

Session

Returns the NameSpace object for the current session. Read-only.

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.

Methods

ForwardAsICal(OlCalendarMailFormat)

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

SaveAsICal(String)

Exports calendar information from the parent Folder of the CalendarSharing object as an iCalendar calendar (.ics) file.

Applies to