Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / SparklineStorage Class / TryGet Method
Row index of the cell.
Column index of the cell.
When this method returns, contains the value associated with the specified cell, if the cell has value; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.


In This Topic
    TryGet Method (SparklineStorage)
    In This Topic
    Gets the value associated with the specified cell.
    Syntax
    'Declaration
     
    
    Public Function TryGet( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByRef value As Sparkline _
    ) As Boolean
    'Usage
     
    
    Dim instance As SparklineStorage
    Dim row As Integer
    Dim column As Integer
    Dim value As Sparkline
    Dim value As Boolean
     
    value = instance.TryGet(row, column, value)
    public bool TryGet( 
       int row,
       int column,
       out Sparkline value
    )

    Parameters

    row
    Row index of the cell.
    column
    Column index of the cell.
    value
    When this method returns, contains the value associated with the specified cell, if the cell has value; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

    Return Value

    true if the CellMatrix<T> contains an element at the specified cell; otherwise, false.
    See Also