Add

CalendarCollection.Add method (1 of 2)

Adds a new base calendar to this CalendarCollection object and returns added calendar.

public Calendar Add(string name)
Parameter Type Description
name String Calendar name.

Return Value

Added Calendar object.

Exceptions

exception condition
ArgumentException Thrown when calendar name is null.

See Also


CalendarCollection.Add method (2 of 2)

Adds a new calendar with specified base calendar to this CalendarCollection object and returns added calendar.

public Calendar Add(string name, Calendar baseCalendar)
Parameter Type Description
name String Specified name.
baseCalendar Calendar Specified base calendar.

Return Value

Added Calendar object.

See Also