LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly)
LEAD Technologies, Inc

DeleteCacheFiles(String,DateTime) Method






Name of the folder where the cache files are.
The last System.DateTime a cache file has been accessed
Deletes the cache files in the specified folder and last access System.DateTime.
Syntax
public static int DeleteCacheFiles( 
   string dirName,
   DateTime lastAccessTime
)
'Declaration
 
Public Overloads Shared Function DeleteCacheFiles( _
   ByVal dirName As String, _
   ByVal lastAccessTime As Date _
) As Integer
'Usage
 
Dim dirName As String
Dim lastAccessTime As Date
Dim value As Integer
 
value = JpipRasterImageViewer.DeleteCacheFiles(dirName, lastAccessTime)
public static int DeleteCacheFiles( 
   string dirName,
   DateTime lastAccessTime
)
 function Leadtools.Jpip.Client.WinForms.JpipRasterImageViewer.DeleteCacheFiles(String,DateTime)( 
   dirName ,
   lastAccessTime 
)
public:
static int DeleteCacheFiles( 
   String^ dirName,
   DateTime lastAccessTime
) 

Parameters

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

Return Value

The number of deleted files.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JpipRasterImageViewer Class
JpipRasterImageViewer Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Client.WinForms requires a Document or Medical license and unlock key as well as a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features