Using "ContactsQuery" for searching particular contact in Google contact using Google API Ver 2

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2010-04-17T11:30:53Z Indexed on 2010/04/17 11:33 UTC
Read the original article Hit count: 757

Filed under:
|
|

Hi,

Currently i am searching particular as below:

 Feed<Contact> f = contactsRequest.GetContacts();
    foreach (Contact e in f.Entries)
    {
     if (e.Title == "MyContact")
     {
    MesageBox.Show("Contact already exist");

     }
    }

This will work fine if no of contacts are less.But above code will become slow for large no of contacts.

I read about "ContactsQuery".How can i use it for above scenario ?

Thanx

© Stack Overflow or respective owner

Related posts about c#

Related posts about google