Back to Devexpress

iCalendarHelper.ApplyRecurrenceInfo(IRecurrenceInfo, DateTime, VRecurrenceRule) Method

corelibraries-devexpress-dot-xtrascheduler-dot-icalendar-dot-icalendarhelper-dot-applyrecurrenceinfo-x28-irecurrenceinfo-datetime-vrecurrencerule-x29.md

latest3.5 KB
Original Source

iCalendarHelper.ApplyRecurrenceInfo(IRecurrenceInfo, DateTime, VRecurrenceRule) Method

This member supports the internal infrastructure and is not intended to be used directly from your code.

Namespace : DevExpress.XtraScheduler.iCalendar

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public static void ApplyRecurrenceInfo(
    IRecurrenceInfo recurrenceInfo,
    DateTime start,
    VRecurrenceRule rule
)
vb
Public Shared Sub ApplyRecurrenceInfo(
    recurrenceInfo As IRecurrenceInfo,
    start As Date,
    rule As VRecurrenceRule
)

Parameters

NameType
recurrenceInfoIRecurrenceInfo
startDateTime
ruleDevExpress.XtraScheduler.iCalendar.Components.VRecurrenceRule

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplyRecurrenceInfo(IRecurrenceInfo, DateTime, VRecurrenceRule) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-import-google-calendar/CS/GoogleCalendarExample/RecurrencePatternParser.cs#L41

csharp
pattern.End = end;
iCalendarHelper.ApplyRecurrenceInfo(pattern.RecurrenceInfo, start, rule);
ExceptionDateTimesProperty exceptionProperty = entryContainer.GetProperty(ExceptionDateTimesProperty.TokenName) as ExceptionDateTimesProperty;

winforms-scheduler-import-google-calendar/VB/GoogleCalendarExample/RecurrencePatternParser.vb#L47

vb
pattern.End = [end]
iCalendarHelper.ApplyRecurrenceInfo(pattern.RecurrenceInfo, start, rule)
Dim exceptionProperty As ExceptionDateTimesProperty = TryCast(entryContainer.GetProperty(ExceptionDateTimesProperty.TokenName), ExceptionDateTimesProperty)

See Also

iCalendarHelper Class

iCalendarHelper Members

DevExpress.XtraScheduler.iCalendar Namespace