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 methods.

Public Methods

  Name Description
Public method Add Overloaded.
Public method Clear
Clears the cache.
Public method Contains
Returns true if this cache contain the given key value pair.
Public method ContainsKey
Returns true if the cache contains the given key.
Public method CopyTo
Copies the key value pairs to the array, starting at the given index.
Public method Dispose
Disposes this cache
Public method Equals (Inherited from Object.)
Public method GetEnumerator
Gets an enumerator for the cache.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Remove Overloaded.
Public method ToString (Inherited from Object.)
Public method TryGetValue
Tries to get the given key from the cache.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

See Also

Advanced