I've tried just about everything to get the .NET API to populate the
Times member for recurring EventEntries, but nothing I've tried will
work. From what I've been able to find in the groups posts, the
SingleEvents property should allow me to bring in times for recurring
events, but it doesn't work at all. Am I missing something in my code?
EventQuery eq = new EventQuery(billsUri);
eq.StartTime = new DateTime(2007, 08, 27);
eq.EndTime = new DateTime(2007, 09, 27);
eq.SingleEvents = true;
EventFeed ef = cs.Query(eq);
foreach(EventEntry ae in ef.Entries)
{
Console.WriteLine("Bill: " + ae.Title.Text + ", ");
if(ae.Times.Count > 0)
{
When w = ae.Times[0];
Console.WriteLine(" " +
w.StartTime.ToShortDateString());
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---