Leadtools.Medical.Caching Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
OnItemRemoved Method
See Also 
Leadtools.Medical.Caching Namespace > Cache Class : OnItemRemoved Method



id
A String that identifies the deleted cache item.
removedItem
An array of Byte representing the removed item data.
reason
A CacheItemRemovedReason value which specify the reason fr deleting this item.
id
A String that identifies the deleted cache item.
removedItem
An array of Byte representing the removed item data.
reason
A CacheItemRemovedReason value which specify the reason fr deleting this item.
Raises the 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 String that identifies the deleted cache item.
removedItem
An array of Byte representing the removed item data.
reason
A CacheItemRemovedReason value which specify the reason fr deleting this item.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also

OnItemRemoved requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features