CacheItem Constructor (String)

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
Available since 4.0
Return to top
© 2015 Microsoft