public class iCalendarAppointmentExportingEventArgs : AppointmentExportingEventArgs
Public Class iCalendarAppointmentExportingEventArgs Inherits AppointmentExportingEventArgs
You should explicitly cast the passed object of a AppointmentExportingEventArgs type to iCalendarAppointmentExportingEventArgs within the event handler. Then, you can access the loaded event calendar component via the iCalendarAppointmentExportingEventArgs.VEvent property, and decide whether this item should be processed or not. To cancel processing, set the AppointmentCancelEventArgs.Cancel to true.