Language

Cache.Remove Method (String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes a cached object from the cache.

Namespace: System.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)

Syntax

'Declaration
Public Sub Remove ( _
    key As String _
)
'Usage
Dim instance As Cache
Dim key As String

instance.Remove(key)
public void Remove (
    string key
)
public:
void Remove (
    String^ key
)
public void Remove (
    String key
)
public function Remove (
    key : String
)

Parameters

  • key
    The unique value that is used to identify the object in the cache. If this parameter is null, an exception is thrown.

Remarks

For more information about how to use this method, see How to: Remove an Object from Cache (Velocity).

See Also

Reference

Cache Class
Cache Members
System.Data.Caching Namespace