OleDbDataReader.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.
Gets the value of the column at the specified ordinal in its native format.
public:
override System::Object ^ GetValue(int ordinal);
public:
virtual System::Object ^ GetValue(int ordinal);
public override object GetValue (int ordinal);
public object GetValue (int ordinal);
override this.GetValue : int -> obj
abstract member GetValue : int -> obj
override this.GetValue : int -> obj
Public Overrides Function GetValue (ordinal As Integer) As Object
Public Function GetValue (ordinal As Integer) As Object
Parameters
- ordinal
- Int32
The zero-based column ordinal.
Returns
The value to return.
Implements
Remarks
This method returns DBNull for null database columns.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.