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<T>(String,T,CacheItemPolicy,String) Method |
public override void Set<T>( string key, T value, CacheItemPolicy policy, string regionName )
'Declaration
Public Overloads Overrides Sub Set(Of T)( _ ByVal key As String, _ ByVal value As T, _ ByVal policy As CacheItemPolicy, _ ByVal regionName As String _ )
'Usage
Dim instance As FileCache Dim key As String Dim value As T Dim policy As CacheItemPolicy Dim regionName As String instance.Set(Of T)(key, value, policy, regionName)
@Override public <T> void set(String key, T value, Class<?> classOfT, CacheItemPolicy policy, String regionName)
public: void Setgeneric<typename T> ( String^ key, T^ 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.