←Select platform

DataSerializationMode Property

Summary

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

Syntax

C#
VB
Java
C++
public override CacheSerializationMode DataSerializationMode { get; set; } 
Public Overrides Property DataSerializationMode() As CacheSerializationMode 
   Get 
   Set 
public:  
   virtual property CacheSerializationMode^ DataSerializationMode 
   { 
      CacheSerializationMode^ get() override 
      void set(CacheSerializationMode^ value) override 
   } 
@Override 
public CacheSerializationMode getDataSerializationMode() 
@Override 
public void setDataSerializationMode(CacheSerializationMode value) 

Property Value

The type of serialization to use when the data 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly