System.ComponentModel.BindingList<T>.EndNew Method

Commits a pending new item to the collection.

Syntax

public virtual void EndNew (int itemIndex)

Parameters

itemIndex
The index of the new item to be added.

Remarks

The BindingList`1.EndNew(int) method commits a pending new item that was added through the BindingList`1.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 BindingList`1.AddNew method.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0