Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / LRUCache<TKey,TValue> Class / Touch Method
The key to touch
In This Topic
    Touch Method
    In This Topic
    Marks a given key as most recently used, thus preventing it from getting removed soon
    Syntax
    public bool Touch( 
       TKey key
    )

    Parameters

    key
    The key to touch

    Return Value

    true if key exists and is touched, false otherwise
    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