PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview.DataBinding Namespace / DataSetFieldCollection Class / OnSet Method
The item index.
The old item.
The new item.

In This Topic
    OnSet Method (DataSetFieldCollection)
    In This Topic
    Called when an item is about to be set.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnSet( _
       ByVal index As Integer, _
       ByVal oldValue As Object, _
       ByVal newValue As Object _
    ) 
    protected virtual void OnSet( 
       int index,
       object oldValue,
       object newValue
    )

    Parameters

    index
    The item index.
    oldValue
    The old item.
    newValue
    The new item.
    See Also