Hello,

i create a calendar like 
http://code.google.com/apis/calendar/developers_guide_dotnet.html#CreatingCalendars
, thats ok.

The calendar title.text is "MyCalendar". If i like to delete this
calender:

//
CalendarQuery query = new CalendarQuery();
query.Uri = new Uri("http://www.google.com/calendar/feeds/default/
owncalendars/full");
CalendarFeed resultFeed = service.Query(query);

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

The Calendar don't delete. Have any an answer for me?

best regards,
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