ICancelAddNew.EndNew(Int32) Method

Definition

Commits a pending new item to the collection.

public:
 void EndNew(int itemIndex);
public void EndNew (int itemIndex);
abstract member EndNew : int -> unit
Public Sub EndNew (itemIndex As Integer)

Parameters

itemIndex
Int32

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

Remarks

The EndNew commits a pending addition (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.

Applies to

See also