[]
        
(Showing Draft Content)

C1.Schedule.Appointment.BeginEdit

BeginEdit Method

BeginEdit()

Prevents the Appointment object from being updated until the EndEdit(bool) method is called.

Declaration
public override void BeginEdit()
Overrides
Remarks

The BeginEdit() and EndEdit(bool) methods are designed to implement batch modifications. This allows you to prevent generation of change notifications when changing multiple settings at the same time. To do this enclose the code that changes the properties in calls to these methods. Each call to BeginEdit() must be paired with a call to EndEdit(bool). To ensure that EndEdit(bool) is always called even if an exception occurs, wrap any calls to these methods in a try...finally statement.