ICancelAddNew::CancelNew Method (Int32)
.NET Framework (current version)
Discards a pending new item from the collection.
Assembly: System (in System.dll)
Parameters
- itemIndex
-
Type:
System::Int32
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: