IDataReader.GetValue(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the value of the specified field.
public:
System::Object ^ GetValue(int fieldIndex);
public object GetValue (int fieldIndex);
abstract member GetValue : int -> obj
Public Function GetValue (fieldIndex As Integer) As Object
Parameters
- fieldIndex
- Int32
The index of the field to find.
Returns
The value of the field at the specified index.
Remarks
Exceptions
Exception type | Condition |
---|---|
IndexOutOfRangeException | The index passed was outside the range of 0 through FieldCount. |