November Happy Hour will be moved to Thursday December 5th.

Class CacheItem

Represents an item cached in a CacheProvider derived class instance

Inheritance
System.Object
CacheItem
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Cache
Assembly: EPiServer.Data.dll
Version: 9.12.2
Syntax
public class CacheItem : IDisposable

Properties

Key

Gets the unique key used to identify the cached object.

Declaration
public string Key { get; }
Property Value
Type Description
System.String

The key.

StoreName

Gets or sets the name of the store that the item is associated with

Declaration
public string StoreName { get; }
Property Value
Type Description
System.String

The name of the store.

Value

Gets or sets the cached object

Declaration
public object Value { get; }
Property Value
Type Description
System.Object

The value.

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Implements

System.IDisposable

Extension Methods