Επεξεργασία

Κοινή χρήση μέσω


DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager, Int32) Method

Definition

Gets the value in the specified row from the specified CurrencyManager.

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

Parameters

source
CurrencyManager

The CurrencyManager containing the data.

rowNum
Int32

The row number containing the data.

Returns

An Object containing the value.

Exceptions

The DataColumn for this DataGridColumnStyle hasn't been set yet.

Remarks

If the data source for the column is a DataTable, use the ColumnChanging or RowChanging events to determine when a row or column value has changed.

Applies to

See also