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 > ObjectCache Class > Add Method : Add(String,Object,CacheItemPolicy,String) Method |
public virtual bool Add( string key, object value, CacheItemPolicy policy, string regionName )
'Declaration
Public Overloads Overridable Function Add( _ ByVal key As String, _ ByVal value As Object, _ ByVal policy As CacheItemPolicy, _ ByVal regionName As String _ ) As Boolean
'Usage
Dim instance As ObjectCache Dim key As String Dim value As Object Dim policy As CacheItemPolicy Dim regionName As String Dim value As Boolean value = instance.Add(key, value, policy, regionName)
public: virtual bool Add( String^ key, Object^ value, CacheItemPolicy^ policy, String^ regionName )