Hello,

You need to add instances of the Who class to the myEntry.Participants
collection.  If you have any questions about the code to do this,
please follow up on this thread.  Sorry this is missing from the
developers guide -  I've filed a doc bug to add this.

Cheers,

-Ryan


On Apr 12, 6:23 pm, "sandiegokiss" <[EMAIL PROTECTED]> wrote:
> Hi there,
> I am able to create an event into a calendar, I tested this scenario
> and it works.
> I now need to ADD also GUESTS ( a list of email addresses ).
>
> Can anyone help me with this???
>
> =================================================================
> SOURCE CODE
>             Uri postUri = new Uri("http://www.google.com/calendar/
> feeds/default/private/full");
>             EventEntry myEntry = new EventEntry();
>
>             myEntry.Title.Text = title;
>             myEntry.Content.Content = "The Title";
>
>             AtomPerson author = new
> AtomPerson(AtomPersonType.Author);
>             author.Name = "My name";
>             author.Email = "[EMAIL PROTECTED]";
>             myEntry.Authors.Add(author);
>
>             CalendarService myService = new CalendarService("name");
>             myService.setUserCredentials("[EMAIL PROTECTED]",
> "password");
>             AtomEntry result = myService.Insert(postUri, myEntry);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to