←Select platform

IsInfinitePolicy Method

Summary

Checks whether a policy is infinite.

Syntax
C#
C++
public static bool IsInfinitePolicy( 
   CacheItemPolicy policy 
) 
vb[VB Syntax] 
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 22.0.2022.4.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.