SqlDataReader.GetValue(Int32) Metoda

Definicja

Pobiera wartość określonej kolumny w formacie natywnym.

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

Parametry

i
Int32

Liczba porządkowa kolumn opartych na zerach.

Zwraca

Object

Ta metoda zwraca wartość DBNull dla kolumn bazy danych o wartości null.

Implementuje

Uwagi

GetValuemetoda zwraca dane przy użyciu typów .NET Framework.

Dotyczy

Zobacz też