ComponentOne Upload for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule Namespace / Appointment Class / BeginEdit Method

In This Topic
    BeginEdit Method (Appointment)
    In This Topic
    Prevents the Appointment object from being updated until the EndEdit(Boolean) method is called.
    Syntax
    'Declaration
     
    Public Overrides Sub BeginEdit() 
    public override void BeginEdit()
    Remarks
    The BeginEdit and EndEdit(Boolean) 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(Boolean). To ensure that EndEdit(Boolean) is always called even if an exception occurs, wrap any calls to these methods in a try...finally statement.
    See Also