Save
MapiCalendar.Save method (1 of 4)
Saves calendar object to the file with iCalendar format using te default save options
public void Save(string filePath)
Parameter |
Type |
Description |
filePath |
String |
A file path |
Exceptions
exception |
condition |
ArgumentException |
filePath is null or empty |
See Also
MapiCalendar.Save method (2 of 4)
Saves calendar object to the file with specified format using te default save options
public void Save(string filePath, AppointmentSaveFormat saveFormat)
Parameter |
Type |
Description |
filePath |
String |
A file path |
saveFormat |
AppointmentSaveFormat |
A save format |
Exceptions
exception |
condition |
ArgumentException |
filePath is null or empty |
NotSupportedException |
The specified saveFormat is not supported |
See Also
MapiCalendar.Save method (3 of 4)
Saves calendar object to the file with iCalendar format using te default save options
public void Save(Stream stream)
Parameter |
Type |
Description |
stream |
Stream |
A stream to save to |
Exceptions
exception |
condition |
ArgumentNullException |
stream is null |
NotSupportedException |
stream does not support writing |
See Also
MapiCalendar.Save method (4 of 4)
Saves calendar object to the stream with specified format using te default save options
public void Save(Stream stream, AppointmentSaveFormat saveFormat)
Parameter |
Type |
Description |
stream |
Stream |
A stream to save to |
saveFormat |
AppointmentSaveFormat |
A save format |
Exceptions
exception |
condition |
ArgumentNullException |
stream is null |
NotSupportedException |
The specified saveFormat is not supported |
NotSupportedException |
stream does not support writing |
See Also