System.Windows.Forms.CurrencyManager.EndCurrentEdit Method

Ends the current edit operation.

Syntax

public override void EndCurrentEdit ()

Remarks

This method is supported only if the objects contained by the data source implement the System.ComponentModel.IEditableObject or System.ComponentModel.ICancelAddNew interfaces.

Note:

This property was designed to be used by complex data-bound controls, such as the System.Windows.Forms.DataGridView control. Unless you are creating a control that requires this same functionality, you should not use this method. Instead, if the data source is either a System.Data.DataView or System.Data.DataTable, use the System.Data.DataRowView.EndEdit method of the System.Data.DataRowView class.

Requirements

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