Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > Document Class : CreateCacheItemPolicy Method |
public CacheItemPolicy CreateCacheItemPolicy()
'Declaration
Public Function CreateCacheItemPolicy() As CacheItemPolicy
'Usage
Dim instance As Document Dim value As CacheItemPolicy value = instance.CreateCacheItemPolicy()
public CacheItemPolicy createCacheItemPolicy()
public: CacheItemPolicy^ CreateCacheItemPolicy();
This will return a copy of the policy used in CreateDocumentOptions.CachePolicy, LoadDocumentOptions.CachePolicy or UploadDocumentOptions.CachePolicy used when this document was original created.
This Document will use this method to create the policy when saving items to the cache. The user should use the same method when creating similar items if needed.