WrapperNamedCacheItem Property |
Namespace: Tangosol.Net.Cache
public virtual Object this[ Object key ] { get; set; }
Exception | Condition |
---|---|
InvalidCastException | If the key is of an inappropriate type for this cache. |
NullReferenceException | If the key is null and this cache does not permit null keys. |
Returns null if the cache contains no mapping for this key. A return value of null does not necessarily indicate that the cache contains no mapping for the key; it's also possible that the cache explicitly maps the key to null.
The Contains(Object) operation may be used to distinguish these two cases.