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 KeyValueCache<T, U>
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class KeyValueCache(Of T, U)

Type Parameters

T
U

The type exposes the following properties.

Public Properties

  Name Description
Public property Count
Returns the number of entries in the cache.
Public property IsReadOnly
Always returns false.
Public property Item
Indexer to get or set a key and value.
Public property Keys
Returns the collection of keys in this cache instance.
Public property MaxCapacity
Gets the maximum capacity of the cache.
Public property ScavengeCount
Gets the scavenge count.
Public property Values
Returns the collection of values in this cache.

See Also

Advanced