DataCollection | ComponentOne
C1.DataCollection.BindingList Assembly / C1.DataCollection.BindingList Namespace / C1DataCollectionBindingList Class / CancelNew Method
The index of the item that was previously added to the collection.

In This Topic
    CancelNew Method (C1DataCollectionBindingList)
    In This Topic
    Discards a pending new item from the collection.
    Syntax
    'Declaration
     
    Public Sub CancelNew( _
       ByVal itemIndex As Integer _
    ) 
    public void CancelNew( 
       int itemIndex
    )

    Parameters

    itemIndex
    The index of the item that was previously added to the collection.
    See Also