CacheItem Constructor (String^, Object^)
.NET Framework (current version)
Initializes a new CacheItem instance using the specified key and a value of the cache entry.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
Parameters
- key
-
Type:
System::String^
A unique identifier for a CacheItem entry.
- value
-
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 null.
.NET Framework
Available since 4.0
Available since 4.0
Show: