WrapperNamedCacheInsert Method (Object, Object) | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            Associates the specified value with the specified key in this
            cache.
            
 
    Namespace: 
   Tangosol.Net.Cache
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic virtual Object Insert(
	Object key,
	Object value
)
Parameters
- key
 - Type: SystemObject
            Key with which the specified value is to be associated.
             - value
 - Type: SystemObject
            Value to be associated with the specified key.
             
Return Value
Type: 
Object
            Previous value associated with specified key, or 
null if
            there was no mapping for key. A 
null return can also
            indicate that the cache previously associated 
null
            with the specified key, if the implementation supports
            
null values.
            
Implements
ICacheInsert(Object, Object)
Remarks
            If the cache previously contained a mapping for this key, the old
            value is replaced.
            Invoking this method is equivalent to the following call:
            
            Insert(key, value, CacheExpiration.Default);
            
See Also