[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.RichValue-1.TryGetFieldValue

TryGetFieldValue Method

TryGetFieldValue(string, out object)

Gets the specified field value from this IRichValue object.

Declaration
public bool TryGetFieldValue(string name, out object value)
Public Function TryGetFieldValue(name As String, ByRef value As Object) As Boolean
Parameters
Type Name Description
string name

The field name.

object value

The field value.

Returns
Type Description
bool

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

Implements

TryGetFieldValue(int, ref CellValue)

Gets the specified field value from this IRichValue object.

Declaration
public bool TryGetFieldValue(int index, ref CellValue result)
Public Function TryGetFieldValue(index As Integer, ByRef result As CellValue) As Boolean
Parameters
Type Name Description
int index

An integer value indicates the field index.

CellValue result

An CellValue object indicates the result.

Returns
Type Description
bool

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

Implements

TryGetFieldValue(int, IPrimitiveValue)

Gets the specified field value from this IRichValue object.

Declaration
public bool TryGetFieldValue(int index, IPrimitiveValue result)
Public Function TryGetFieldValue(index As Integer, result As IPrimitiveValue) As Boolean
Parameters
Type Name Description
int index

An integer value indicates the field index.

IPrimitiveValue result

An IPrimitiveValue object indicates the result.

Returns
Type Description
bool

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

Implements