Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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. This overload also allows you to specify the region.
Namespace: System.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Sub Remove ( _
region As String, _
key As String _
)
'Usage
Dim instance As Cache
Dim region As String
Dim key As String
instance.Remove(region, key)
public void Remove (
string region,
string key
)
public:
void Remove (
String^ region,
String^ key
)
public void Remove (
String region,
String key
)
public function Remove (
region : String,
key : String
)
Parameters
- region
The name of the region. Use DefaultRegion if the object is not stored in a region.
- key
The unique value that is used to identify the object in the region or 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).