BindingList<T>.EndNew(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.
Commits a pending new item to the collection.
public:
virtual void EndNew(int itemIndex);
public virtual void EndNew (int itemIndex);
abstract member EndNew : int -> unit
override this.EndNew : int -> unit
Public Overridable Sub EndNew (itemIndex As Integer)
Parameters
- itemIndex
- Int32
The index of the new item to be added.
Implements
Remarks
The EndNew method commits a pending new item that was added through the AddNew method. If there is no new item waiting to be committed, then this method does nothing.
For more information about adding and committing new items, see the AddNew method.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.