- dirName
- Name of the folder where the cache files are.
- lastAccessTime
- The last DateTime a cache file has been accessed
Visual Basic (Declaration) | |
---|---|
Overloads Public Shared Function DeleteCacheFiles( _ ByVal dirName As String, _ ByVal lastAccessTime As Date _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family