c# - How to set a One-Time only event using DDay iCal -
i trying setup one-time event using dday ical library.
the frequencytype lists following:
public enum frequencytype { none = 0, secondly = 1, minutely = 2, hourly = 3, daily = 4, weekly = 5, monthly = 6, yearly = 7, }
currently in application user given options creating one-time or daily events.
for daily job:
frequencytype.daily
and code:
event evt = ical.create<event>(); recurrencepattern rp = new recurrencepattern(frequencytype); evt.recurrencerules.add(rp);
i have removed other details brevity.
how go setting one-time event?
Comments
Post a Comment