VB.Net
+++++++++++++++++++++++++++++++++++
Dim conEntry As New GData.Contacts.ContactEntry
conEntry.Title.Text = "Contact_Display_Name_String"
Dim eml = New GData.Extensions.EMail(FuLL_EMail_Address_String)
eml.Primary = True
eml.Rel = GData.Extensions.ContactsRelationships.IsWork
conEntry.Emails.Add(eml)
x.Insert(Of GData.Contacts.ContactEntry)(New Uri("http://
Feed_URL_String"), conEntry)
+++++++++++++++++++++++++++++++++++
BR,
Khallaf
On Feb 6, 3:44 pm, George Flex <[email protected]> wrote:
> The .NET example shows how to create a ContactEntry with allready lots
> of contactinfo.
> The most stripped contact would be created like this:
>
> ContactEntry newEntry = new ContactEntry();
> Uri feedUri = new Uri(ContactsQuery.CreateContactsUri("default"));
> ContactEntry createdEntry = (ContactEntry)contactService.Insert
> (feedUri, newEntry);
>
> But that is not enough, and adding one single e-mailaddress, also
> doesn't cut it.
> Which are the minimum requirements?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---