FlexPivot for WinForms
GetData(Int32,Int32) メソッド

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > GetData メソッド : GetData(Int32,Int32) メソッド
Row index.
Column index.
Gets the value of a grid cell.
シンタックス
'宣言
 
Public Overloads Overridable Function GetData( _
   ByVal row As System.Integer, _
   ByVal col As System.Integer _
) As System.Object
public virtual System.object GetData( 
   System.int row,
   System.int col
)

パラメータ

row
Row index.
col
Column index.

戻り値の型

The value of the cell.
解説

The GetData(Int32,Int32) method returns the raw data stored in a specific grid cell. It is equivalent to using the grid's indexer. For example:

object foo = flex.GetData(1, 1); object bar = flex[1, 1]; // same thing

The data displayed on the grid might be different from the raw data, depending on the setting of the RowCol.Format and RowCol.DataMap properties. To obtain the display value (which is always a string), use the GetDataDisplay(Int32,Int32) method instead.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ
オーバーロード一覧