Add New. Cancel New(Int32) Method
Discards a pending new item from the collection.
public: void CancelNew(int itemIndex);
public void CancelNew (int itemIndex);
abstract member CancelNew : int -> unit
Public Sub CancelNew (itemIndex As Integer)
The index of the item that was previously added to the collection.
The CancelNew method rolls back 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.