DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager, Int32) 方法

定义

获取指定 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

参数

source
CurrencyManager

包含数据的 CurrencyManager

rowNum
Int32

包含数据的行的行号。

返回

一个包含该值的 Object

例外

注解

如果列的数据源是 , DataTable请使用 ColumnChangingRowChanging 事件来确定行或列值何时更改。

适用于

另请参阅