Version

SaveChanges Property (ValidateAppointmentRecurrenceEventArgs)

Gets/sets whether changes made to the AppointmentRecurrence during this dialog session should be saved.
Syntax
'Declaration
 
Public Property SaveChanges As Boolean
public bool SaveChanges {get; set;}
Remarks

When the RecurrenceDialog contains invalid values in one or more of its fields, this property can assume a default value of false; for example, if AppointmentRecurrence is set to generate occurrences that would begin or end at a time that is outside the range defined by the associated CalendarInfo's LogicalDayOffset and LogicalDayDuration properties. Listeners can, however, set the SaveChanges property to a different value to override the default behavior.

Modifications that are made to the AppointmentRecurrence are not saved until the dialog is closed, and only if the dialog is closed via the 'Ok' button. From this it follows that changes are not applied unless the CloseDialog property is set to true; however, if the dialog remains open after the 'Ok' button is clicked, and SaveChanges is set to true, dialog fields will contain whatever values were entered by the end user, regardless of whether they are valid.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also