System.ComponentModel.ICancelAddNew.EndNew Method

Commits a pending new item to the collection.

Syntax

public void EndNew (int itemIndex)

Parameters

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

Remarks

The ICancelAddNew.EndNew(int) commits a pending addition (IBindingList.AddNew) of an item previously added to the collection at position itemIndex. The index parameter is necessary because several new items can be simultaneously pending.

Requirements

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