←Select platform

CreateCacheItemPolicy Method

Summary

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

Syntax
C#
C++/CLI
Java
Python
public CacheItemPolicy CreateCacheItemPolicy() 
public:  
   CacheItemPolicy^ CreateCacheItemPolicy() 
public CacheItemPolicy createCacheItemPolicy() 
def CreateCacheItemPolicy(self): 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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