Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.Win.C1Schedule Namespace / C1Schedule Class / BeforeExport Event

In This Topic
    BeforeExport Event (C1Schedule)
    In This Topic
    Occurs before export operation performed by the Export method.
    Syntax
    'Declaration
     
    Public Event BeforeExport As System.EventHandler(Of ExchangeEventArgs)
    public event System.EventHandler<ExchangeEventArgs> BeforeExport
    Event Data

    The event handler receives an argument of type ExchangeEventArgs containing data related to this event. The following ExchangeEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the data which are about to be exported. This property should contain one of the next:
    • to export all content of the C1Schedule.DataStorage.AppointmentStorage.Appointments collection;
    • C1.C1Schedule.Appointment;
    • System.Collections.Generic.IList`1.
     
    Gets the C1.C1Schedule.FileFormatEnum value, selected by the end-user.  
    Remarks
    Note, this event is not fired if you export data from your code using C1.C1Schedule.Appointment.SaveAs or C1ScheduleStorage.Export methods.
    See Also