共用方式為


CalendarSharing.IncludeWholeCalendar Property (Outlook)

Returns or sets a Boolean 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.

Version Information

Version Added: Office System 2003

Syntax

expression .IncludeWholeCalendar

expression An expression that returns a CalendarSharing object.

Return Value

True if all calendar items in the folder should be included; otherwise, False.

Remarks

If this property is set to true, the StartDate and EndDate properties of the CalendarSharing object are ignored and all calendar items in the folder are included.

If this property is set to false, the StartDate and EndDate properties determine the range of calendar items to be included.

See Also

Concepts

CalendarSharing Object Members

CalendarSharing Object