LRUCache.Flush Method (PIA)
Use this method to remove the specified element from the cache.
Definition
[Visual Basic .NET]
Import Microsoft.CommerceServer.Interop.Caching
…
Public Sub Flush(Optional bstrKey As String)
[C#]
using Microsoft.CommerceServer.Interop.Caching;
…
public void Flush(stringbstrKey);
Parameters
[Visual Basic .NET]
- bstrKey
An optional String that contains the name of the element to be removed from the cache.
[C#]
- bstrKey
A string that contains the name of the element to be removed from the cache. Set to Type.Missing in order to not specify a name.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
If no element is specified, all elements are removed.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Caching
Platforms: Windows 2000, Windows Server 2003
Assembly: cachecomplib (in cachecomplib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.