BindingList<T>.EndNew(Int32) 方法

定义

向集合提交挂起的新项。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)

参数

itemIndex
Int32

要添加的新项的索引。The index of the new item to be added.

实现

注解

EndNew 方法提交通过 AddNew 方法添加的挂起的新项。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.

有关添加和提交新项的详细信息,请参阅 AddNew 方法。For more information about adding and committing new items, see the AddNew method.

适用于

另请参阅