Class CalendarWriter

CalendarWriter class

Allows write the set of Events in one ics file or stream.

public class CalendarWriter : IDisposable

Constructors

NameDescription
CalendarWriter(Stream)Initializes a new instance of CalendarReader with source stream and default AppointmentIcsSaveOptions.
CalendarWriter(string)Initializes a new instance of CalendarReader with source file and default AppointmentIcsSaveOptions.
CalendarWriter(Stream, AppointmentIcsSaveOptions)Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.
CalendarWriter(string, AppointmentIcsSaveOptions)Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Write(Appointment)Writes appointment in underlying stream.

See Also