CacheItem Constructor (String, Object, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: