BindingList<T>::CancelNew Method (Int32)
.NET Framework (current version)
Discards a pending new item.
Assembly: System (in System.dll)
Parameters
- itemIndex
-
Type:
System::Int32
The index of the of the new item to be added
Implements
ICancelAddNew::CancelNew(Int32)The following code example demonstrates how use the CancelNew method. For the complete example, see the BindingList<T> class overview topic.
.NET Framework
Available since 2.0
Available since 2.0
Show: