Leadtools.Jpip.Client.WinForms Requires JPIP Module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DeleteCacheFiles(String,DateTime) Method
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class > DeleteCacheFiles Method : DeleteCacheFiles(String,DateTime) Method



dirName
Name of the folder where the cache files are.
lastAccessTime
The last DateTime a cache file has been accessed
dirName
Name of the folder where the cache files are.
lastAccessTime
The last DateTime a cache file has been accessed
Deletes the cache files in the specified folder and last access DateTime.

Syntax

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

Parameters

dirName
Name of the folder where the cache files are.
lastAccessTime
The last DateTime a cache file has been accessed

Return Value

The number of deleted files.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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