Appointment.Save
Save(string)
Saves appointment 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 |
---|
ArgumentOutOfRangeException | filePath is null or empty |
See Also
Save(string, AppointmentSaveFormat)
Saves appointment 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 |
---|
ArgumentOutOfRangeException | filePath is null or empty |
NotSupportedException | The specified save options are not supported |
See Also
Save(string, AppointmentSaveOptions)
Saves appointment to the file with specified save options
public void Save(string filePath, AppointmentSaveOptions saveOptions)
Parameter | Type | Description |
---|
filePath | String | A file path |
saveOptions | AppointmentSaveOptions | A save options |
Exceptions
exception | condition |
---|
ArgumentOutOfRangeException | filePath is null or empty |
ArgumentNullException | saveOptions is null |
NotSupportedException | The specified save options are not supported |
See Also
Save(Stream)
Saves appointment 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 appointment 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 save options are not supported |
NotSupportedException | stream does not support writing |
See Also
Save(Stream, AppointmentSaveOptions)
Saves appointment to the stream with specified save options
public void Save(Stream stream, AppointmentSaveOptions saveOptions)
Parameter | Type | Description |
---|
stream | Stream | A stream to save to |
saveOptions | AppointmentSaveOptions | 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