This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class Cache
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class Cache

The type exposes the following members.

Public Constructors

  Name Description
Public method Cache
Initialzie a new instance of a Cache class with a backing store, and scavenging policy.

Public Methods

  Name Description
Public method Add Overloaded.
Public method Contains
Determines if a particular key is contained in the cache.
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Public method Flush
Flush the cache.
Public method GetData
Get the object from the cache for the key.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize
Initialize the cache with a scavenger.
Public method Remove Overloaded.
Public method RemoveItemFromCache
Removes an item from the cache.
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Dispose Overloaded.
Protected method Finalize
Dispose of the backing store before garbage collection.
(Overrides Object..::Finalize()()()().)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Count
Gets the count of CacheItem objects.
Public property CurrentCacheState
Gets the current cache.

See Also

Advanced