Share via


_CalendarSharing.IncludeWholeCalendar Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property IncludeWholeCalendar As Boolean
    Get
    Set
'Usage
Dim instance As _CalendarSharing
Dim value As Boolean

value = instance.IncludeWholeCalendar

instance.IncludeWholeCalendar = value
bool IncludeWholeCalendar { get; set; }

Property Value

Type: System.Boolean
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

Reference

_CalendarSharing Interface

_CalendarSharing Members

Microsoft.Office.Interop.Outlook Namespace