The Transparency class is defined here: http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/src/gcalendar/evententry.cs#358
Please make sure to use the latest release or sync with the project repository. Best, Alain On Thu, Oct 27, 2011 at 5:38 AM, Russell Reid <[email protected]>wrote: > OK, tried that and i got an error that 'The name Transparency does not > exist in the current context'. Do i have to define transparency? i cant > find any info on doing that. Am i missing a reference? I am using Visual > Studio Express 2010 and coding in C#. > > > On Wed, Oct 26, 2011 at 3:39 PM, Alain Vongsouvanh <[email protected]>wrote: > >> 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 >> > > > > -- > > Russell Reid LEED AP > Consultant > > ACOUSTIC DIMENSIONS > *DALLAS NEW YORK SAN DIEGO UK* > > 15508 Wright Brothers Drive > Addison, TX 75001 > D | 469.726.4281 > T | 972.239.1505 > > www.acousticdimensions.com > > P Please consider the environment before printing this e-mail > > > > -- > 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
