Allows write the set of Events in one ics file or stream. More...
Inherits IDisposable.
Public Member Functions | |
CalendarWriter (System::String path) | |
Initializes a new instance of CalendarReader with source file and default AppointmentIcsSaveOptions. More... | |
CalendarWriter (System::SharedPtr< System::IO::Stream > stream) | |
Initializes a new instance of CalendarReader with source stream and default AppointmentIcsSaveOptions. More... | |
CalendarWriter (System::String path, System::SharedPtr< AppointmentIcsSaveOptions > icsSaveOptions) | |
Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions. More... | |
CalendarWriter (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< AppointmentIcsSaveOptions > icsSaveOptions) | |
Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions. More... | |
void | Write (System::SharedPtr< Appointment > appointment) |
Writes appointment in underlying stream. More... | |
void | Dispose () override |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Releases unmanaged and - optionally - managed resources. More... | |
virtual | ~CalendarWriter () |
Allows write the set of Events in one ics file or stream.
Aspose::Email::Calendar::CalendarWriter::CalendarWriter | ( | System::String | path | ) |
Initializes a new instance of CalendarReader with source file and default AppointmentIcsSaveOptions.
path | Path to source file. |
Aspose::Email::Calendar::CalendarWriter::CalendarWriter | ( | System::SharedPtr< System::IO::Stream > | stream | ) |
Initializes a new instance of CalendarReader with source stream and default AppointmentIcsSaveOptions.
stream | Source stream. |
Aspose::Email::Calendar::CalendarWriter::CalendarWriter | ( | System::String | path, |
System::SharedPtr< AppointmentIcsSaveOptions > | icsSaveOptions | ||
) |
Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.
path | Path to source file. |
icsSaveOptions | Additional AppointmentIcsSaveOptions. |
Aspose::Email::Calendar::CalendarWriter::CalendarWriter | ( | System::SharedPtr< System::IO::Stream > | stream, |
System::SharedPtr< AppointmentIcsSaveOptions > | icsSaveOptions | ||
) |
Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.
stream | Source stream. |
icsSaveOptions | Additional AppointmentIcsSaveOptions. |
|
protectedvirtual |
|
override |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
protectedvirtual |
Releases unmanaged and - optionally - managed resources.
disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
void Aspose::Email::Calendar::CalendarWriter::Write | ( | System::SharedPtr< Appointment > | appointment | ) |
Writes appointment in underlying stream.
appointment | Source appointment |