BindingList<'T>.EndNew Method (Int32)

 

Commits a pending new item to the collection.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

abstract EndNew : 
        itemIndex:int -> unit
override EndNew : 
        itemIndex:int -> unit

Parameters

itemIndex
Type: System.Int32

The index of the new item to be added.

The EndNew method commits a pending new item that was added through the AddNew method. If there is no new item waiting to be committed, then this method does nothing.

For more information about adding and committing new items, see the AddNew method.

.NET Framework
Available since 2.0
Return to top
Show: