DeleteCacheFiles(string,DateTime) Method

Summary

Deletes the cache files in the specified folder and last access System.DateTime.

Syntax
C#
VB
C++
public static int DeleteCacheFiles( 
   string dirName, 
   DateTime lastAccessTime 
) 
  
Public Overloads Shared Function DeleteCacheFiles( _ 
   ByVal dirName As String, _ 
   ByVal lastAccessTime As Date _ 
) As Integer 
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

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

Leadtools.Jpip.Client.WinForms Assembly