GetAttachmentKey
CacheKeys.GetAttachmentKey method
返回表示附件文件的缓存条目的唯一标识符。
public static string GetAttachmentKey(string attachmentId)
| 范围 | 类型 | 描述 |
|---|---|---|
| attachmentId | String | 附件的唯一(在单个文件的上下文中)标识符。 |
返回值
表示附件文件的缓存条目的唯一标识符。
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentException | 抛出时attachmentId为 null 或空。 |
也可以看看
- class CacheKeys
- 命名空间 GroupDocs.Viewer.Caching
- 部件 GroupDocs.Viewer