GetAttachmentKey
CacheKeys.GetAttachmentKey method
Returnerar unik identifierare för cache-posten som representerar bifogad fil.
public static string GetAttachmentKey(string attachmentId)
| Parameter | Typ | Beskrivning | 
|---|---|---|
| attachmentId | String | Unik (i samband med en enda fil) identifierare för bilagan. | 
Returvärde
Unik identifierare för cache-posten som representerar bifogad fil.
Undantag
| undantag | skick | 
|---|---|
| ArgumentException | Kastas närattachmentId är null eller tom. | 
Se även
- class CacheKeys
 - namnutrymme GroupDocs.Viewer.Caching
 - hopsättning GroupDocs.Viewer