Adding exception dates to CalendarEvent #741
Answered
by
axunonb
mbowles201
asked this question in
Q&A
-
I have created a Calendar via C# and adding CalendarEvents from a database. I also have a list of dates that are exceptions for each CalendarEvent. How do I add them to the CalendarEvent via code? I dont see any examples and CoPilot created gibberish. |
Beta Was this translation helpful? Give feedback.
Answered by
axunonb
Feb 27, 2025
Replies: 1 comment 3 replies
-
Here is an example from one of the unit tests how to add ical.net/Ical.Net.Tests/RecurrenceTests.cs Lines 3266 to 3284 in d5b8484 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mbowles201
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is an example from one of the unit tests how to add
ExceptionDates
to aCalendarEvent
. Hope this helps.ical.net/Ical.Net.Tests/RecurrenceTests.cs
Lines 3266 to 3284 in d5b8484