Xceed Real-Time Zip for .NET Documentation
OnRemove Method


Xceed.Zip Assembly > Xceed.Utils.Collections Namespace > ListBase Class : OnRemove Method
The zero-based index at which value can be found.
The value of the item to remove at index.
true to cancel the operation; false otherwise.
Performs additional custom processes when removing an item from the ListBase instance.
Syntax
'Declaration
 
Protected Overridable Sub OnRemove( _
   ByVal index As Integer, _
   ByVal value As Object, _
   ByRef cancel As Boolean _
) 
'Usage
 
Dim instance As ListBase
Dim index As Integer
Dim value As Object
Dim cancel As Boolean
 
instance.OnRemove(index, value, cancel)
protected virtual void OnRemove( 
   int index,
   object value,
   ref bool cancel
)

Parameters

index
The zero-based index at which value can be found.
value
The value of the item to remove at index.
cancel
true to cancel the operation; false otherwise.
Remarks

If the index of the item is unknown, index is -1. In that case, the System.Collections.IList.IndexOf(System.Object) method needs to be called with the value to retrieve the index.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListBase Class
ListBase Members