QueryContacts Method
Queries a Google Contacts feed using the specified parameters.
Syntax
int QueryContacts();
Remarks
Queries a Google Contacts feed specified by FeedURL using the specified QueryParams. To fetch a Google Contacts feed, without filtering any of the contacts, you can call QueryContacts without adding any parameters to QueryParams.
The query results are delivered in the TransferredData property, as well as through the Transfer event. The response headers can be retrieved via the ParsedHeaders property as well as through the Header event.
The class will then attempt to parse the query results. Upon successfully parsing the response, FeedProperties will be set with their associated feed element values and the following properties will be populated:
- FirstName
- LastName
- FullName
- Birthday
- HomeEmailAddress
- WorkEmailAddress
- HomePhoneNumber
- WorkPhoneNumber
- MobilePhoneNumber
- HomeIMAddress
- HomeIMProtocol
- WorkIMAddress
- WorkIMProtocol
- HomeAddress
- WorkAddress
- HomeWebsite
- WorkWebsite
- Nickname
- Gender
- Notes
- Deleted
- ContactEditURL
- ContactETag
- ContactProperties