←Select platform

CreateCacheItemPolicy Method

Summary

Create a new policy to be used when items of this document is cached.

Syntax
C#
VB
C++
Java
public CacheItemPolicy CreateCacheItemPolicy() 
Public Function CreateCacheItemPolicy() As CacheItemPolicy 
public:  
   CacheItemPolicy^ CreateCacheItemPolicy() 
public CacheItemPolicy createCacheItemPolicy() 

Return Value

The new cache policy.

Remarks

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 LEADDocument 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.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.