OleDbDataReader.GetValue(Int32) Method

Definition

Gets the value of the column at the specified ordinal in its native format.

public:
 virtual System::Object ^ GetValue(int ordinal);
public object GetValue (int ordinal);
override this.GetValue : int -> obj
Public Function GetValue (ordinal As Integer) As Object

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

The value to return.

Remarks

This method returns DBNull for null database columns.

Applies to

See also