Export (0) Print
Expand All

CacheItem Constructor (String, Object)

Initializes a new CacheItem instance using the specified key and a value of the cache entry.

Namespace:  System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

new : 
        key:string * 
        value:Object -> CacheItem


Type: System.String

A unique identifier for a CacheItem entry.

Type: System.Object

The data for a CacheItem entry.

When the CacheItem(String, Object) method overload is called, the property value for RegionName is set to a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft