Skip to main content

ICalendarExporter Members

Represents an object that transforms Scheduler appointments into the event calendar components in iCalendar format.

Constructors

Name Description
ICalendarExporter(SchedulerControl, IEnumerable<AppointmentItem>) Initializes a new instance of the iCalendarExporter class with the specified Scheduler and appointments to export.
ICalendarExporter(SchedulerControl) Initializes a new instance of the iCalendarExporter class with the specified Scheduler.

Properties

Name Description
CustomPropertyIdentifier Gets or sets a short prefix text used to construct the names for properties not included in the iCalendar standard.
IsTermination Indicates that the export process was terminated.
ProductIdentifier Gets or sets the identifier for the product that created the iCalendar object.
SourceObjectCount Gets the number of objects (appointments) that will be exported.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Export(Stream) Exports appointments to the specified stream.
Export(String) Exports appointments to the specified file.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Terminate() Stops the export process, so no data are loaded.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
AppointmentExported Occurs after the ICalendarExporter exports an appointment to an iCalendar file or stream.
AppointmentExporting Occurs before an ICalendarExporter class exports an appointment
GetAppointmentItemForeignId Occurs before an ICalendarExporter retrieves information about a foreign ID of an appointment, i.e., its identifier in a third-party scheduler application with which the appointment data are exchanged.
OnCalendarStructureCreated Fires when the calendar object conforming to the iCalendar specification is created.
OnException Occurs if an exception is raised during the export/import process.
See Also