←Select platform

IsInfinitePolicy Method

Summary

Checks whether a policy is infinite.

Syntax
C#
VB
C++
public static bool IsInfinitePolicy( 
   CacheItemPolicy policy 
) 
Public Shared Function IsInfinitePolicy( 
   ByVal policy As CacheItemPolicy 
) As Boolean 
public:  
   static bool IsInfinitePolicy( 
      CacheItemPolicy^ policy 
   ) 

Parameters

policy

Policy to check.

Return Value

true if this policy is infinite; otherwise, false.

Remarks

A CacheItemPolicy is infinite when both of the following conditions are met:

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.Caching Assembly