MapiCalendar.Save
Save(string, MapiCalendarSaveOptions)
Saves calendar object to the file with specified format using te default save options
public void Save(string filePath, MapiCalendarSaveOptions saveOptions)
Parameter | Type | Description |
---|
filePath | String | A file path |
saveOptions | MapiCalendarSaveOptions | A save options |
Exceptions
exception | condition |
---|
ArgumentException | filePath is null or empty |
NotSupportedException | the specified save options are not supported |
See Also
Save(Stream, MapiCalendarSaveOptions)
Saves calendar to the stream with specified save options
public void Save(Stream stream, MapiCalendarSaveOptions saveOptions)
Parameter | Type | Description |
---|
stream | Stream | A stream to save to |
saveOptions | MapiCalendarSaveOptions | A save options |
Exceptions
exception | condition |
---|
ArgumentNullException | saveOptions or stream is null |
NotSupportedException | the specified save options are not supported |
NotSupportedException | stream does not support writing |
See Also
Save(string)
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
Save(string, AppointmentSaveFormat)
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
Save(Stream)
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
Save(Stream, AppointmentSaveFormat)
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