Uredi

Deli z drugimi prek


BindingList<T>.EndNew(Int32) Method

Definition

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