/// <summary> /// Gets the next appointment (assumed you have the Calendar folder open) /// </summary> /// <param name="appointment">MAPIAppointment object</param> /// <returns>true on success</returns> public bool GetNextAppointment(out MAPIAppointment appointment) { IntPtr pAppointment; appointment = null; if (MAPIGetNextAppointment(pMAPI, out pAppointment)) { appointment = new MAPIAppointment(pAppointment); } return(appointment != null); }
/// <summary> /// Gets the next appointment (assuming this is the Calendar folder) /// </summary> /// <param name="appointment">MAPIAppointment object</param> /// <returns>true on success</returns> public bool GetNextAppointment(out MAPIAppointment appointment) { IntPtr pAppointment; appointment = null; if (FolderGetNextAppointment(pObject, out pAppointment)) { appointment = new MAPIAppointment(pAppointment); } return(appointment != null); }
/// <summary> /// Gets the next appointment (assumed you have the Calendar folder open) /// </summary> /// <param name="appointment">MAPIAppointment object</param> /// <returns>true on success</returns> public bool GetNextAppointment(out MAPIAppointment appointment) { IntPtr pAppointment; appointment = null; if (MAPIGetNextAppointment(pMAPI, out pAppointment)) { appointment = new MAPIAppointment(pAppointment); } return (appointment != null); }
public bool DeleteAppointment(MAPIAppointment appointment) { return FolderDeleteAppointment(pObject, appointment.Pointer); }
/// <summary> /// Gets the next appointment (assuming this is the Calendar folder) /// </summary> /// <param name="appointment">MAPIAppointment object</param> /// <returns>true on success</returns> public bool GetNextAppointment(out MAPIAppointment appointment) { IntPtr pAppointment; appointment = null; if (FolderGetNextAppointment(pObject, out pAppointment)) { appointment = new MAPIAppointment(pAppointment); } return (appointment != null); }
public bool DeleteAppointment(MAPIAppointment appointment) { return(FolderDeleteAppointment(pObject, appointment.Pointer)); }