[CLSCompliant(false)] public class OutlookAppointmentExportingEventArgs : AppointmentExportingEventArgs
<CLSCompliant(False)> Public Class OutlookAppointmentExportingEventArgs Inherits AppointmentExportingEventArgs
You should explicitly cast the passed object of a AppointmentExportingEventArgs type to OutlookAppointmentExportingEventArgs within the event handler. Then, you can access the Outlook appointment via the OutlookAppointmentExportingEventArgs.OutlookAppointment property, and decide whether this item should be processed or not. To cancel processing, set the AppointmentCancelEventArgs.Cancel to true.