←Select platform

CreateCacheItemPolicy Method

Summary

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

Syntax

C#
VB
Java
C++
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 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly