Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IRichValue Interface / TryGetFieldValue Method / TryGetFieldValue(Int32,CellValue) Method
An integer value indicates the field index.
An CellValue object indicates the result.


In This Topic
    TryGetFieldValue(Int32,CellValue) Method
    In This Topic
    Gets the specified field value from this IRichValue object.
    Syntax
    'Declaration
     
    
    Overloads Function TryGetFieldValue( _
       ByVal index As Integer, _
       ByRef result As CellValue _
    ) As Boolean
    'Usage
     
    
    Dim instance As IRichValue
    Dim index As Integer
    Dim result As CellValue
    Dim value As Boolean
     
    value = instance.TryGetFieldValue(index, result)
    bool TryGetFieldValue( 
       int index,
       ref CellValue result
    )

    Parameters

    index
    An integer value indicates the field index.
    result
    An CellValue object indicates the result.

    Return Value

    A boolean value indicates whether the field value is returned successful.
    See Also