Save
Save(Stream, AppointmentSaveOptions)
使用指定的保存选项将约会保存到流
public void Save(Stream stream, AppointmentSaveOptions saveOptions)
| 范围 | 类型 | 描述 |
|---|
| stream | Stream | 要保存到的流 |
| saveOptions | AppointmentSaveOptions | 保存选项 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | saveOptions或者stream是无效的 |
| NotSupportedException | 不支持指定的保存选项 |
| NotSupportedException | 流不支持写入 |
也可以看看
Save(string)
使用默认保存选项将约会保存到 iCalendar 格式的文件
public void Save(string filePath)
| 范围 | 类型 | 描述 |
|---|
| filePath | String | 一个文件路径 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentOutOfRangeException | filePath是无效的或者空的 |
也可以看看
Save(string, AppointmentSaveFormat)
使用默认保存选项将约会保存到指定格式的文件
public void Save(string filePath, AppointmentSaveFormat saveFormat)
| 范围 | 类型 | 描述 |
|---|
| filePath | String | 一个文件路径 |
| saveFormat | AppointmentSaveFormat | 一种保存格式 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentOutOfRangeException | filePath是无效的或者空的 |
| NotSupportedException | 不支持指定的保存选项 |
也可以看看
Save(string, AppointmentSaveOptions)
使用指定的保存选项将约会保存到文件
public void Save(string filePath, AppointmentSaveOptions saveOptions)
| 范围 | 类型 | 描述 |
|---|
| filePath | String | 一个文件路径 |
| saveOptions | AppointmentSaveOptions | 保存选项 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentOutOfRangeException | filePath是无效的或者空的 |
| ArgumentNullException | saveOptions是无效的 |
| NotSupportedException | 不支持指定的保存选项 |
也可以看看
Save(Stream)
使用默认保存选项将约会保存到 iCalendar 格式的文件
public void Save(Stream stream)
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | stream是无效的 |
| NotSupportedException | 流不支持写入 |
也可以看看
Save(Stream, AppointmentSaveFormat)
使用默认保存选项以指定格式将约会保存到流中
public void Save(Stream stream, AppointmentSaveFormat saveFormat)
| 范围 | 类型 | 描述 |
|---|
| stream | Stream | 要保存到的流 |
| saveFormat | AppointmentSaveFormat | 一种保存格式 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | stream是无效的 |
| NotSupportedException | 不支持指定的保存选项 |
| NotSupportedException | 流不支持写入 |
也可以看看