Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class > Set Method : Set(String,Object,CacheItemPolicy,String) Method |
public override void Set( string key, object value, CacheItemPolicy policy, string regionName )
'Declaration
Public Overloads Overrides Sub Set( _ ByVal key As String, _ ByVal value As Object, _ ByVal policy As CacheItemPolicy, _ ByVal regionName As String _ )
'Usage
Dim instance As FileCache Dim key As String Dim value As Object Dim policy As CacheItemPolicy Dim regionName As String instance.Set(key, value, policy, regionName)
public: void Set( String^ key, Object^ value, CacheItemPolicy^ policy, String^ regionName ) override
If the item is already in the cache, then it will be replaced with the new item and its policy updated.