Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.CalcEngine Namespace / RichValue<T> Class / TryGetFieldValue Method / TryGetFieldValue(Int32,IPrimitiveValue) Method
An integer value indicates the field index.
An IPrimitiveValue object indicates the result.


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

    Parameters

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

    Return Value

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