Edytuj

Udostępnij za pośrednictwem


DataGridBoolColumn.Commit(CurrencyManager, Int32) Method

Definition

Initiates a request to complete an editing procedure.

protected public:
 override bool Commit(System::Windows::Forms::CurrencyManager ^ dataSource, int rowNum);
protected internal override bool Commit (System.Windows.Forms.CurrencyManager dataSource, int rowNum);
override this.Commit : System.Windows.Forms.CurrencyManager * int -> bool
Protected Friend Overrides Function Commit (dataSource As CurrencyManager, rowNum As Integer) As Boolean

Parameters

dataSource
CurrencyManager

The DataView of the edited column.

rowNum
Int32

The number of the edited row.

Returns

true if the editing procedure committed successfully; otherwise, false.

Applies to