MapiCalendarRecurrencePatternFactory.FromString

MapiCalendarRecurrencePatternFactory.FromString method

Creates a recurrence pattern from an iCalendar recurrence rule.

public static MapiCalendarRecurrencePattern FromString(string pattern)
ParameterTypeDescription
patternStringThe rule in iCalendar format: a DTSTART line followed by an RRULE line, and optionally EXDATE lines, for example DTSTART:20261102T100000Z and RRULE:FREQ=WEEKLY;BYDAY=MO;COUNT=10.

Return Value

The pattern for the first RRULE, with the EXDATE dates added to its deleted occurrences; null if pattern is null or has no RRULE.

See Also