private void UpdateEvent()
{
EventQuery
query = new EventQuery();
CalendarService
service = new CalendarService("appName");
service.setUserCredentials("yourMail@gmail.com", "yourPassword");
service.QueryClientLoginToken();
query.Uri = new Uri("the Uri of the event");
EventFeed
calFeed = service.Query(query) as EventFeed;
AtomEntryCollection
ee = calFeed.Entries;
EventEntry
ev = ee[0] as EventEntry;
//in this
example i modify the title of the event
//but we
can modify everything
ev.Title.Text = "write the new title of the event";
ev.Update();
//update ok
}
Calendar C# Events
RispondiElimina