IDataRecord.GetValue(Int32) Method

Definition

Return the value of the specified field.

public:
 System::Object ^ GetValue(int i);
public object GetValue (int i);
abstract member GetValue : int -> obj
Public Function GetValue (i As Integer) As Object

Parameters

i
Int32

The index of the field to find.

Returns

The Object which will contain the field value upon return.

Exceptions

The index passed was outside the range of 0 through FieldCount.

Applies to