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 不匹配。

适用于

另请参阅