Hello Austin,

i change your example for my code like this:

//
foreach (CalendarEntry entry in resultFeed.Entries)
{
    if (entry.title.text == "MyCalendar")
   {
       try
       {
           Uri uri = new Uri(entry.Id.Uri.ToString());
           service.Delete(uri);
       }
       catch (GDataRequestException)
       {
           Console.WriteLine("Unable to delete primary calendar.\n");
       }
    }
}
//

I have checked the "entry.Id.Uri.ToString()" and there is the correkt
CalendarID from MyCalendar. But the calender doesnt deleted.

Can you help me?
Carsten


--~--~---------~--~----~------------~-------~--~----~
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