Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class : CheckPolicy Method |
public virtual bool CheckPolicy( string keyName, string regionName )
'Declaration
Public Overridable Function CheckPolicy( _ ByVal keyName As String, _ ByVal regionName As String _ ) As Boolean
'Usage
Dim instance As FileCache Dim keyName As String Dim regionName As String Dim value As Boolean value = instance.CheckPolicy(keyName, regionName)
public boolean checkPolicy(String keyName, String regionName)
public: virtual bool CheckPolicy( String^ keyName, String^ regionName )
This method checks the policy of the item if found. It its absolute or sliding expiration date is met, then it will be purged from the cache.