GetAttachmentKey
CacheKeys.GetAttachmentKey method
Returns unique identifier for the cache entry that represents attachment file.
public static string GetAttachmentKey(string attachmentId)
| Parameter | Type | Description | 
|---|---|---|
| attachmentId | String | Unique (in context of single file) identifier of the attachment. | 
Return Value
Unique identifier for the cache entry that represents attachment file.
Exceptions
| exception | condition | 
|---|---|
| ArgumentException | Thrown when attachmentId is null or empty. | 
See Also
- class CacheKeys
 - namespace GroupDocs.Viewer.Caching
 - assembly GroupDocs.Viewer