編輯

共用方式為


DataGridColumnStyle.SetColumnValueAtRow Method

Definition

Sets the value in a specified row with the value from a specified 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)

Parameters

source
CurrencyManager

A CurrencyManager associated with the DataGridColumnStyle.

rowNum
Int32

The number of the row.

value
Object

The value to set.

Exceptions

The CurrencyManager object's Position does not match rowNum.

Applies to

See also