# C1.Schedule.Appointment.BeginEdit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_Appointment_BeginEdit_" data-uid="C1.Schedule.Appointment.BeginEdit*">BeginEdit Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_Appointment_BeginEdit_" data-uid="C1.Schedule.Appointment.BeginEdit*"></a>
<h4 id="C1_Schedule_Appointment_BeginEdit" data-uid="C1.Schedule.Appointment.BeginEdit">BeginEdit()</h4>
<div class="markdown level1 summary"><p>Prevents the <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> object from being updated until
the <a class="xref" href="C1.Schedule.Appointment.EndEdit.html#C1_Schedule_Appointment_EndEdit_System_Boolean_">EndEdit(bool)</a> method is called.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void BeginEdit()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub BeginEdit()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.Schedule.BasePersistableObject.BeginEdit.html#C1_Schedule_BasePersistableObject_BeginEdit">BasePersistableObject.BeginEdit()</a></div>
<h5 id="C1_Schedule_Appointment_BeginEdit_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.Schedule.Appointment.BeginEdit.html#C1_Schedule_Appointment_BeginEdit">BeginEdit()</a> and <a class="xref" href="C1.Schedule.Appointment.EndEdit.html#C1_Schedule_Appointment_EndEdit_System_Boolean_">EndEdit(bool)</a> 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 <a class="xref" href="C1.Schedule.Appointment.BeginEdit.html#C1_Schedule_Appointment_BeginEdit">BeginEdit()</a> must be paired with a call to <a class="xref" href="C1.Schedule.Appointment.EndEdit.html#C1_Schedule_Appointment_EndEdit_System_Boolean_">EndEdit(bool)</a>.
To ensure that <a class="xref" href="C1.Schedule.Appointment.EndEdit.html#C1_Schedule_Appointment_EndEdit_System_Boolean_">EndEdit(bool)</a> is always called even if an exception occurs,
wrap any calls to these methods in a try...finally statement.</p>
</div>
</div>
