Example #1
0
        /// <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);
        }
Example #2
0
        /// <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);
        }
Example #3
0
 /// <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);
 }
Example #4
0
 public bool DeleteContact(MAPIContact contact)
 {
     return FolderDeleteContact(pObject, contact.Pointer);
 }
Example #5
0
 /// <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);
 }
Example #6
0
 public bool DeleteContact(MAPIContact contact)
 {
     return(FolderDeleteContact(pObject, contact.Pointer));
 }