CacheItem Constructor (String^, Object^, String^)

.NET Framework (current version)
 

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

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

public:
CacheItem(
	String^ key,
	Object^ value,
	String^ regionName
)

Parameters

key
Type: System::String^

A unique identifier for a CacheItem entry.

value
Type: System::Object^

The data for a CacheItem entry.

regionName
Type: System::String^

The name of a region in the cache that will contain the CacheItem entry.

.NET Framework
Available since 4.0
Return to top
Show: