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