Remove item from local cache and other remote cache listeners.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static void Remove(
	string key
)

Parameters

key
Type: System..::.String
The cache key to remove

Remarks

This method will automatically forward updates of version numbers to other machines. Do not use this method in loops, since every call could result in a web service call to multiple machines. The recommended pattern when you have multiple items that needs to be removed is to have a master dependency item that can be removed instead, to trigger all items to be removed.

See Also