PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / OwnedCollection Class / OnSet Method
The item index.
The old item.
The new item.

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

    Parameters

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