Click or drag to resize
Galactic API

iCalendarUtilitySaveCalendar Method (Calendar, String)

Saves the supplied calendar object as an iCalendar file at the supplied path.

Namespace:  Galactic.Calendar.iCalendar
Assembly:  Galactic.Calendar.iCalendar (in Galactic.Calendar.iCalendar.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public void SaveCalendar(
	Calendar calendar,
	string path
)

Parameters

calendar
Type: Galactic.CalendarCalendar
The calendar object to save.
path
Type: SystemString
The path to save the iCalendar file at.

Return Value

Type: 
Always returns true. (The iCalendar serializer does not report whether it was successful.)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if a calendar is not provided, or a path was not provided.
See Also