Version

GetCellValue(Int32,Boolean) Method

Gets the cell value associated with the specified column.
Syntax
'Declaration
 
Public Overloads Function GetCellValue( _
   ByVal columnIndex As Integer, _
   ByVal raiseCellDataRequestedEvent As Boolean _
) As Object
public object GetCellValue( 
   int columnIndex,
   bool raiseCellDataRequestedEvent
)

Parameters

columnIndex
The index of the column whose value to get.
raiseCellDataRequestedEvent
Specifies whether to raise the CellDataRequested event if the cell's value has not been set.

Return Value

The value of the cell.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also