/// <summary> /// Gets the next contact (assumed you have the contacts folder open) /// </summary> /// <param name="contact">MAPIContact object</param> /// <returns>true on success</returns> public bool GetNextContact(out MAPIContact contact) { IntPtr pContact; contact = null; if (MAPIGetNextContact(pMAPI, out pContact)) { contact = new MAPIContact(pContact); } return(contact != null); }
/// <summary> /// Gets the next contact (assuming this is the Contacts folder) /// </summary> /// <param name="contact">MAPIContact object</param> /// <returns>true on success</returns> public bool GetNextContact(out MAPIContact contact) { IntPtr pContact; contact = null; if (FolderGetNextContact(pObject, out pContact)) { contact = new MAPIContact(pContact); } return(contact != null); }
/// <summary> /// Gets the next contact (assumed you have the contacts folder open) /// </summary> /// <param name="contact">MAPIContact object</param> /// <returns>true on success</returns> public bool GetNextContact(out MAPIContact contact) { IntPtr pContact; contact = null; if (MAPIGetNextContact(pMAPI, out pContact)) { contact = new MAPIContact(pContact); } return (contact != null); }
public bool DeleteContact(MAPIContact contact) { return FolderDeleteContact(pObject, contact.Pointer); }
/// <summary> /// Gets the next contact (assuming this is the Contacts folder) /// </summary> /// <param name="contact">MAPIContact object</param> /// <returns>true on success</returns> public bool GetNextContact(out MAPIContact contact) { IntPtr pContact; contact = null; if (FolderGetNextContact(pObject, out pContact)) { contact = new MAPIContact(pContact); } return (contact != null); }
public bool DeleteContact(MAPIContact contact) { return(FolderDeleteContact(pObject, contact.Pointer)); }