GetResourceKey
Leave feedback
On this page
Returns unique identifier for the cache entry that represents Resource object.
public static string GetResourceKey(int pageNumber, Resource resource)
| Parameter | Type | Description |
|---|---|---|
| pageNumber | Int32 | The number of the page. |
| resource | Resource | The HTML resource. |
Unique identifier for the cache entry that represents Resource object.
| exception | condition |
|---|---|
| ArgumentException | Thrown when pageNumber is less or equal to zero. |
| ArgumentNullException | Thrown when resource is null. |
- class Resource
- class CacheKeys
- namespace GroupDocs.Viewer.Caching
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.