Bewerken

Share via


BindingSource.ICancelAddNew.EndNew(Int32) Method

Definition

Commits a pending new item to the collection.

 virtual void System.ComponentModel.ICancelAddNew.EndNew(int position) = System::ComponentModel::ICancelAddNew::EndNew;
void ICancelAddNew.EndNew (int position);
abstract member System.ComponentModel.ICancelAddNew.EndNew : int -> unit
override this.System.ComponentModel.ICancelAddNew.EndNew : int -> unit
Sub EndNew (position As Integer) Implements ICancelAddNew.EndNew

Parameters

position
Int32

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

Implements

Remarks

The ICancelAddNew.EndNew method commits a pending addition of an item previously added to the collection at the index specified by position. The position parameter is necessary because several new items can be simultaneously pending.

Applies to

See also