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,DateTime,String) Method |
public override void Set<T>( string key, T value, DateTime absoluteExpiration, string regionName )
'Declaration
Public Overloads Overrides Sub Set(Of T)( _ ByVal key As String, _ ByVal value As T, _ ByVal absoluteExpiration As Date, _ ByVal regionName As String _ )
'Usage
Dim instance As FileCache Dim key As String Dim value As T Dim absoluteExpiration As Date Dim regionName As String instance.Set(Of T)(key, value, absoluteExpiration, regionName)
@Override public <T> void set(String key, T value, Class<?> classOfT, Date absoluteExpiration, String regionName)
public: void Setgeneric<typename T> ( String^ key, T^ value, DateTime absoluteExpiration, String^ regionName ) override
If the item is already in the cache, then it will be replaced with the new item and its policy updated.