ICancelAddNew.EndNew(Int32) 方法

定义

向集合提交挂起的新项。Commits a pending new item to the collection.

public:
 void EndNew(int itemIndex);
public void EndNew (int itemIndex);
abstract member EndNew : int -> unit
Public Sub EndNew (itemIndex As Integer)

参数

itemIndex
Int32

先前添加到集合的项的索引。The index of the item that was previously added to the collection.

注解

提交先前AddNew添加itemIndex到集合中的项的挂起添加 ()。 EndNewThe EndNew commits a pending addition (AddNew) of an item previously added to the collection at position itemIndex. Index 参数是必需的, 因为可以同时挂起多个新项。The index parameter is necessary because several new items can be simultaneously pending.

适用于

另请参阅