Xceed Real-Time Zip for .NET Documentation
OnSet Method


Xceed.Zip Assembly > Xceed.Utils.Collections Namespace > ListBase Class : OnSet Method
The zero-based index at which oldValue can be found.
The value to replace with newValue.
The new value of the item at index.
true to cancel the operation; false otherwise.
Performs additional custom processes before setting a value in the ListBase instance.
Syntax
'Declaration
 
Protected Overridable Sub OnSet( _

   ByVal index As Integer, _

   ByVal oldValue As Object, _

   ByVal newValue As Object, _

   ByRef cancel As Boolean _

) 
'Usage
 
Dim instance As ListBase

Dim index As Integer

Dim oldValue As Object

Dim newValue As Object

Dim cancel As Boolean

 

instance.OnSet(index, oldValue, newValue, cancel)
protected virtual void OnSet( 

   int index,

   object oldValue,

   object newValue,

   ref bool cancel

)

Parameters

index
The zero-based index at which oldValue can be found.
oldValue
The value to replace with newValue.
newValue
The new value of the item at index.
cancel
true to cancel the operation; false otherwise.
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