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

編輯後的列號。

傳回

true如果編輯程序成功提交;否則,。 false

適用於