Share via


xRecord.getFieldValue Method

Definition

Overloads

getFieldValue(String, Int32)
getFieldValue(String)

Gets the value of the specified field from a table buffer.

getFieldValue(String, Int32)

public:
 virtual System::Object ^ getFieldValue(System::String ^ _fieldName, int _arrayIndex);
public virtual object getFieldValue (string _fieldName, int _arrayIndex);
abstract member getFieldValue : string * int -> obj
override this.getFieldValue : string * int -> obj
Public Overridable Function getFieldValue (_fieldName As String, _arrayIndex As Integer) As Object

Parameters

_fieldName
String

The array index of the field; optional.

_arrayIndex
Int32

The array index of the field; optional.

Returns

Applies to

getFieldValue(String)

Gets the value of the specified field from a table buffer.

public:
 virtual System::Object ^ getFieldValue(System::String ^ text1);
public virtual object getFieldValue (string text1);
abstract member getFieldValue : string -> obj
override this.getFieldValue : string -> obj
Public Overridable Function getFieldValue (text1 As String) As Object

Parameters

text1
String

Returns

The value of a field.

Remarks

The arrayIndex parameter only applies to array fields. Either omit this parameter or specify 0 (zero) for fields that are not arrays. This method throws an ArgumentOutOfRange exception if the specified field is unknown.

Applies to