SqlDataReader.GetValue(Int32) SqlDataReader.GetValue(Int32) SqlDataReader.GetValue(Int32) SqlDataReader.GetValue(Int32) Method

Definition

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

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

Parameters

i
Int32 Int32 Int32 Int32

The zero-based column ordinal.

Returns

This method returns DBNull for null database columns.

Implements

Remarks

GetValue returns data using the .NET Framework types.

Applies to

See also