BindingSource::ICancelAddNew::EndNew Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Commits a pending new item to the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void EndNew(
	int position
) sealed = ICancelAddNew::EndNew

Parameters

position
Type: System::Int32

The index of the item that was added to the collection.

The ICancelAddNew::EndNew method commits a pending addition of an item previously added to the collection at the index specified by position. The position parameter is necessary because several new items can be simultaneously pending.

.NET Framework
Available since 2.0
Return to top
Show: