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