GetAttachments
GetAttachments()
返回文档中包含的附件。
public IList<Attachment> GetAttachments()
返回值
文档中包含的附件。
例外
例外 | (健康)状况 |
---|---|
PasswordRequiredException | 当打开文档需要密码时抛出。 |
IncorrectPasswordException | 当指定的密码不正确时抛出。 |
评论
了解更多
- 了解有关在 C# 中获取文档附件的更多信息: 如何使用 GroupDocs.Viewer 获取文档附件列表
- 了解有关在 C# 中保存文档附件的更多信息: 如何使用 GroupDocs.Viewer 保存文档附件
也可以看看
- class Attachment
- class Viewer
- 命名空间 GroupDocs.Viewer
- 部件 GroupDocs.Viewer
GetAttachments(CancellationToken)
返回文档中包含的附件。
public IList<Attachment> GetAttachments(CancellationToken cancellationToken)
范围 | 类型 | 描述 |
---|---|---|
cancellationToken | CancellationToken | 取消令牌。 |
返回值
文档中包含的附件。
例外
例外 | (健康)状况 |
---|---|
PasswordRequiredException | 当打开文档需要密码时抛出。 |
IncorrectPasswordException | 当指定的密码不正确时抛出。 |
评论
了解更多
- 了解有关在 C# 中获取文档附件的更多信息: 如何使用 GroupDocs.Viewer 获取文档附件列表
- 了解有关在 C# 中保存文档附件的更多信息: 如何使用 GroupDocs.Viewer 保存文档附件
也可以看看
- class Attachment
- class Viewer
- 命名空间 GroupDocs.Viewer
- 部件 GroupDocs.Viewer