←Select platform

IsInfinitePolicy Method

Summary

Checks whether a policy is infinite.

Syntax
C#
C++/CLI
Python
public static bool IsInfinitePolicy( 
   CacheItemPolicy policy 
) 
public:  
   static bool IsInfinitePolicy( 
      CacheItemPolicy^ policy 
   ) 
def IsInfinitePolicy(self,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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly

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