internal AppointmentException(Application application, Appointment appointment, IntPtr pIAppointmentException) { m_application = application; m_appointment = appointment; m_pIAppointmentException = pIAppointmentException; }
internal RecurrencePattern(Application application, Appointment appointment, IntPtr pIRecurrencePattern) { m_application = application; m_appointment = appointment; m_pIRecurrencePattern = pIRecurrencePattern; }
internal Exceptions(Application application, Appointment appointment, IntPtr pIExceptions) { m_application = application; m_appointment = appointment; m_pIExceptions = pIExceptions; }
/* * A private function for creating an item of the proper type. */ private OutlookItem CreateItem(IntPtr pItem) { OutlookItem item = null; OutlookItem.ItemType itemType = (OutlookItem.ItemType) m_tItemType; switch (itemType) { case OutlookItem.ItemType.AppointmentItem: item = new Appointment(m_application, ref pItem); break; case OutlookItem.ItemType.ContactItem: item = new Contact(m_application, ref pItem); break; case OutlookItem.ItemType.TaskItem: item = new Task(m_application, ref pItem); break; case OutlookItem.ItemType.CityItem: item = new City(m_application, ref pItem); break; default: throw new InvalidProgramException(); } return item; }