_CalendarSharing.RestrictToWorkingHours Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.