PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview Namespace / VisitedDocumentCollection Class / OnInsert Method
The item index.
The item.

In This Topic
    OnInsert Method (VisitedDocumentCollection)
    In This Topic
    Called when an item is about to be iserted. Fires the C1.C1Preview.EventCollection.Changing event.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnInsert( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    protected virtual void OnInsert( 
       int index,
       object value
    )

    Parameters

    index
    The item index.
    value
    The item.
    See Also