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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip.Client.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.