Export (0) Print
Expand All

CacheItem Constructor (String)

.NET Framework 4.6 and 4.5

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

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

public CacheItem(
	string key


Type: System.String

A unique identifier for a CacheItem entry.

When the CacheItem(String) method overload is called, the property values for RegionName and Value are set to null.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft