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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.