BindingSource.ICancelAddNew.CancelNew(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Discards a pending new item from the collection.
virtual void System.ComponentModel.ICancelAddNew.CancelNew(int position) = System::ComponentModel::ICancelAddNew::CancelNew;
void ICancelAddNew.CancelNew (int position);
abstract member System.ComponentModel.ICancelAddNew.CancelNew : int -> unit
override this.System.ComponentModel.ICancelAddNew.CancelNew : int -> unit
Sub CancelNew (position As Integer) Implements ICancelAddNew.CancelNew
Parameters
- position
- Int32
The index of the item that was added to the collection.
Implements
Remarks
The ICancelAddNew.CancelNew method rolls back 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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.