LEADTOOLS Medical (Leadtools.Medical.Caching assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
OnItemRemoved Method
See Also 
Leadtools.Medical.Caching Namespace > Cache Class : OnItemRemoved Method



id
A System.String that identifies the deleted cache item.
removedItem
An array of System.Byte representing the removed item data.
reason
A System.Web.Caching.CacheItemRemovedReason value which specify the reason fr deleting this item.

The OnItemRemoved Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

id
A System.String that identifies the deleted cache item.
removedItem
An array of System.Byte representing the removed item data.
reason
A System.Web.Caching.CacheItemRemovedReason value which specify the reason fr deleting this item.
Raises the Cache.ItemRemoved event.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnItemRemoved( _
   ByVal id As String, _
   ByVal removedItem() As Byte, _
   ByVal reason As CacheItemRemovedReason _
) 
Visual Basic (Usage)Copy Code
Dim instance As Cache
Dim id As String
Dim removedItem() As Byte
Dim reason As CacheItemRemovedReason
 
instance.OnItemRemoved(id, removedItem, reason)
C# 
protected virtual void OnItemRemoved( 
   string id,
   byte[] removedItem,
   CacheItemRemovedReason reason
)
C++/CLI 
protected:
virtual void OnItemRemoved( 
   String^ id,
   array<byte>^ removedItem,
   CacheItemRemovedReason reason
) 

Parameters

id
A System.String that identifies the deleted cache item.
removedItem
An array of System.Byte representing the removed item data.
reason
A System.Web.Caching.CacheItemRemovedReason value which specify the reason fr deleting this item.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also