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

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