Adding exception dates to CalendarEvent #741
-
|
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.
Replies: 2 comments 4 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.
-
|
No I have not.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Wed, Jul 16, 2025 at 7:32 AM axunonb ***@***.***> wrote:
@mbowles201 <https://github.com/mbowles201> Did you migrate to v5 by now?
—
Reply to this email directly, view it on GitHub
<#741 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYWJCRE4JFKMMENALREU2L3IYZ3LAVCNFSM6AAAAABX6UDDT6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZXGYZDIOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Here is an example from one of the unit tests how to add
ExceptionDatesto aCalendarEvent. Hope this helps.ical.net/Ical.Net.Tests/RecurrenceTests.cs
Lines 3266 to 3284 in d5b8484