Chili.Opf3 Send comments on this topic.
ClearPersistentsOlderThan(Type,DateTime) Method
See Also 
Chili.Opf3.Caching Namespace > SimpleCacheManager Class > ClearPersistentsOlderThan Method : ClearPersistentsOlderThan(Type,DateTime) Method




type
The type of persistents that are deleted.
date
The date all persistent objects older than should be deleted.
Clears all persistents of the given type which are older then the given date.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub ClearPersistentsOlderThan( _
   ByVal type As Type, _
   ByVal date As Date _
) 
Visual Basic (Usage)Copy Code
Dim instance As SimpleCacheManager
Dim type As Type
Dim date As Date
 
instance.ClearPersistentsOlderThan(type, date)
C# 
public void ClearPersistentsOlderThan( 
   Type type,
   DateTime date
)
Managed Extensions for C++ 
public: void ClearPersistentsOlderThan( 
   Type* type,
   DateTime date
) 
C++/CLI 
public:
void ClearPersistentsOlderThan( 
   Type^ type,
   DateTime date
) 

Parameters

type
The type of persistents that are deleted.
date
The date all persistent objects older than should be deleted.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also