←Select platform

PolicySerializationMode Property

Summary

Determines the type of serialization to use when the policy is saved into the cache.

Syntax
C#
C++/CLI
Java
Python
public override CacheSerializationMode PolicySerializationMode { get; set; } 
public:  
   virtual property CacheSerializationMode^ PolicySerializationMode 
   { 
      CacheSerializationMode^ get() override 
      void set(CacheSerializationMode^ value) override 
   } 
@Override 
public CacheSerializationMode getPolicySerializationMode() 
@Override 
public void setPolicySerializationMode(CacheSerializationMode value) 
PolicySerializationMode # get and set (FileCache) 

Property Value

The type of serialization to use when the policy is saved into the cache. The default value is CacheSerializationMode.Binary.

Remarks

The LEADTOOLS Document Viewer and Converter framework uses the recommended CacheSerializationMode.Json mode that offers backward compatibility as well as sharing a cache between the .NET and Java version of the framework.

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