←Select platform

MaximumItems Property

Summary

Maximum number of items to keep in the cache.

Syntax
C#
VB
C++
public int MaximumItems {get; set;} 
Public Property MaximumItems() As Integer 
   Get 
   Set 
public:  
   property Int32 MaximumItems 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

The maximum number of items to keep in the cache. The default value is 0.

Remarks

A value of 0 (the default) means that there is no limit on the number of items to keep in the cache. If a value is set and the limit is reached, then the least recently used item is removed to make room for the new one.

Refer to DocumentMemoryCache for more information.

Example

For an example, refer to DocumentMemoryCache.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly