DataGridBoolColumn.Commit(CurrencyManager, Int32) 方法

定义

初始化一个请求以完成一个编辑过程。

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

参数

dataSource
CurrencyManager

已编辑列的 DataView

rowNum
Int32

所编辑行的行号。

返回

Boolean

如果编辑过程成功提交,则为 true;否则为 false

适用于