共用方式為


DataGridColumnStyle.SetColumnValueAtRow 方法

定義

以指定 CurrencyManager 的值設定指定資料列的值。

protected public:
 virtual void SetColumnValueAtRow(System::Windows::Forms::CurrencyManager ^ source, int rowNum, System::Object ^ value);
protected internal virtual void SetColumnValueAtRow (System.Windows.Forms.CurrencyManager source, int rowNum, object value);
abstract member SetColumnValueAtRow : System.Windows.Forms.CurrencyManager * int * obj -> unit
override this.SetColumnValueAtRow : System.Windows.Forms.CurrencyManager * int * obj -> unit
Protected Friend Overridable Sub SetColumnValueAtRow (source As CurrencyManager, rowNum As Integer, value As Object)

參數

rowNum
Int32

資料列的編號。

value
Object

要設定的值。

例外狀況

CurrencyManager 物件的 PositionrowNum 不相符。

適用於

另請參閱