ChangeMessages
ChangeMessages(IEnumerable<string>, MapiPropertyCollection)
更改文件夹中的消息。
public void ChangeMessages(IEnumerable<string> entryIdCollection,
MapiPropertyCollection updatedProperties)
| 范围 | 类型 | 描述 |
|---|
| entryIdCollection | IEnumerable`1 | 条目标识符集合。 |
| updatedProperties | MapiPropertyCollection | 更新的属性。 |
例外
| 例外 | (健康)状况 |
|---|
| NotImplementedException | 未实现 ANSI 文件版本编辑。 |
| InvalidOperationException | PST 为只读。 或 entryId 不正确。 |
| ArgumentNullException | entryIdCollection;入口id集合不能为空 or updatedProperties;属性集合不能为空 |
也可以看看
ChangeMessages(MapiPropertyCollection)
更改文件夹中的所有邮件。
public void ChangeMessages(MapiPropertyCollection updatedProperties)
| 范围 | 类型 | 描述 |
|---|
| updatedProperties | MapiPropertyCollection | 更新的属性。 |
例外
| 例外 | (健康)状况 |
|---|
| NotImplementedException | 未实现 ANSI 文件版本编辑。 |
| InvalidOperationException | PST 为只读。 或 entryId 不正确。 |
| ArgumentNullException | entryIdCollection;入口id集合不能为空 or updatedProperties;属性集合不能为空 |
也可以看看