←Select platform

UpdatePolicy Method

Summary

Update the policy of an existing cache item.

Syntax

C#
VB
Java
C++
public override void UpdatePolicy( 
   string key, 
   CacheItemPolicy policy, 
   string regionName 
) 
Public Overrides Sub UpdatePolicy( 
   ByVal key As String, 
   ByVal policy As CacheItemPolicy, 
   ByVal regionName As String 
) 
public:  
   virtual void UpdatePolicy( 
      String^ key, 
      CacheItemPolicy^ policy, 
      String^ regionName 
   ) override 
public updatePolicy(String key, CacheItemPolicy policy, String regionName) 

Parameters

key

Unique item identifier.

policy

New expiration policy to use with this item.

regionName

Optional region (sub-directory) name.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly