Error processing SSI file
(Leadtools.Controls)

Show in webframe

DeleteItem Method




Source item
The image object for this item.
Delete the image data for an item.
Syntax
protected abstract void DeleteItem( 
   ImageViewerItem item,
   object data
)
'Declaration
 
Protected MustOverride Sub DeleteItem( _
   ByVal item As ImageViewerItem, _
   ByVal data As Object _
) 

Parameters

item
Source item
data
The image object for this item.
Remarks

This method is called when the item is no longer used. data must be deleted by the derived class here. For example, if data implements IDisposable, then it should be disposed here.

data is the same object returned from LoadItem for this item.

You should encapsulate the code inside this method with a try/catch and handle the error correctly. This method will not automatically fire the ItemError event.

Example

For an example, refer to ImageViewerVirtualizer.

Requirements

Target Platforms

See Also

Reference

ImageViewerVirtualizer Class
ImageViewerVirtualizer Members

Error processing SSI file