LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DeleteCacheFiles(DateTime) Method
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class > DeleteCacheFiles Method : DeleteCacheFiles(DateTime) Method



lastAccessTime
The last System.DateTime a cache file has been accessed
lastAccessTime
The last System.DateTime a cache file has been accessed
Deletes the cache files that wasn't accessed since a specific System.DateTime.

Syntax

Visual Basic (Declaration) 
Overloads Public Function DeleteCacheFiles( _
   ByVal lastAccessTime As Date _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim lastAccessTime As Date
Dim value As Integer
 
value = instance.DeleteCacheFiles(lastAccessTime)
C# 
public int DeleteCacheFiles( 
   DateTime lastAccessTime
)
C++/CLI 
public:
int DeleteCacheFiles( 
   DateTime lastAccessTime
) 

Parameters

lastAccessTime
The last System.DateTime a cache file has been accessed

Return Value

The number of deleted files.

Remarks

This method will delete all cache files that haven't been accessed since lastAccessTime

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features