_CalendarSharing.RestrictToWorkingHours Property

Definition

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.

public:
 property bool RestrictToWorkingHours { bool get(); void set(bool value); };
public bool RestrictToWorkingHours { get; set; }
Public Property RestrictToWorkingHours As Boolean

Property Value

Remarks

True indicates that the calendar items that do not occur within working hours should be included.

This property must be set to False if the CalendarDetail property of the CalendarSharing object is set to olFreeBusyOnly or olFullDetails.

Applies to