ViewportList.OnSet Method

Performs additional custom processes before setting a value in the CollectionBase instance.
Protected Overrides Sub OnSet( _ 
ByVal index As Integer, _ 
ByVal oldValue As Object, _ 
ByVal newValue As Object
)
This language is not supported or no code example is available.
protected override void OnSet( 
int index
object oldValue
object newValue 
)
This language is not supported or no code example is available.

Parameters

index
int

The zero-based index at which oldValue can be found.

oldValue
object

The value to replace with newValue.

newValue
object

The new value of the element at index.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition