Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / GetValue Method / GetValue(Int32,Int32,SheetArea) Method
The row index.
The column index.
The sheet area.


In This Topic
    GetValue(Int32,Int32,SheetArea) Method
    In This Topic
    Gets unformatted data from the specified cell in the specified sheet area.
    Syntax
    'Declaration
     
    Public Overloads Function GetValue( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal sheetArea As SheetArea _
    ) As Object
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim sheetArea As SheetArea
    Dim value As Object
     
    value = instance.GetValue(row, column, sheetArea)
    public object GetValue( 
       int row,
       int column,
       SheetArea sheetArea
    )

    Parameters

    row
    The row index.
    column
    The column index.
    sheetArea
    The sheet area.

    Return Value

    Returns the value of the cell.
    Exceptions
    ExceptionDescription
    Specified row index is out of range; must be between 0 and the total number of rows.
    Specified column index is out of range; must be between 0 and the total number of columns.
    See Also