Hello Russell, Have you tried: toCreate.EventTransparency = Transparency.TRANSPARENT;
Best, Alain On Wed, Oct 26, 2011 at 12:45 PM, Russell Reid <[email protected]> wrote: > I am working on an app to post events from a database into a shared > calendar using C# and the .net dlls. I am using a batch entry method to > create the events and add them to a feed. I would like to set the > transparency of the events at creation time but am having no luck at finding > the right syntax. Can anyone assist and advise in how to do this? Here is > the code that i currently have (that doesn't work): > > // Create an batch entry to insert a new event. > EventEntry toCreate = new EventEntry(); > toCreate.Title.Text = TaskSubject; > toCreate.Content.Content = strProjFull; > toCreate.Times.Add(new When(TaskDeadline, TaskDeadline, true)); > //toCreate.EventTransparency(" > http://schemas.google.com/g/2005#event.Opaque"); > //toCreate.EventTransparency(" > http://schemas.google.com/g/2005#event.transparent"); > toCreate.BatchData = new > GDataBatchEntryData(GDataBatchOperationType.insert); > > OrigFeed.Entries.Add(toCreate); > > return OrigFeed; > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh | Developer Programs Engineer -- 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://code.google.com/apis/calendar/community/forum.html
