Split method

Splits a repeating Calendar Event into a new series, starting on a given date.

Syntax


C++

HRESULT Split (
   DATE,

   IERUItem** ppCalendarEventPage)

Scripting languages

Set Item = CalendarEvent.Split (
   DATE)

Parameters


Date

The date used to split the recurring event.

ppCalendarEventPage

Upon return, an IERUItem interface pointer to the newly-added Calendar Event.

Return value


C++

The return code.

Scripting languages

An IERUItem interface pointer.

Remarks


When you call the Split method, the original event splits so that it ends with the previous occurrence in that series. eRoom creates a new series, beginning with the current occurrence. This means that if you go back and change an occurrence in the original series, you can only change that occurrence and all occurrences leading up to the date on which the split occurred.

The new repeating Calendar Event has a start date specified by the Date parameter. All its other properties are inherited from the original repeating Calendar Event from which it split.

Home

Applies to

IERUCalendarRecurringEvent


See also

Calendars