System.Windows.Forms.BindingSource.AddNew Method

Adds a new item to the underlying list.

Syntax

public virtual object AddNew ()

Returns

The object that was created and added to the list.

Remarks

The BindingSource.AddNew method adds a new item to the underlying list represented by the BindingSource.List property. This method sets up the following series of actions:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

This method raises the BindingSource.ListChanged event.

Requirements

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