Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / LRUCache<TKey,TValue> Class / AddOrUpdate Method
The key
The value
In This Topic
    AddOrUpdate Method
    In This Topic
    Adds or updates an entry to cache. If the key already exists, the entry is updated to make it most recently used.
    Syntax
    public void AddOrUpdate( 
       TKey key,
       TValue value
    )

    Parameters

    key
    The key
    value
    The value
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also