OracleDataReader.GetInt32(Int32) Metoda

Definicja

Pobiera wartość określonej kolumny jako 32-bitową liczbę całkowitą ze znakiem.

public:
 virtual int GetInt32(int i);
public:
 override int GetInt32(int i);
public int GetInt32 (int i);
public override int GetInt32 (int i);
abstract member GetInt32 : int -> int
override this.GetInt32 : int -> int
override this.GetInt32 : int -> int
Public Function GetInt32 (i As Integer) As Integer
Public Overrides Function GetInt32 (i As Integer) As Integer

Parametry

i
Int32

Liczba porządkowa kolumn opartych na zerach.

Zwraca

Wartość określonej kolumny jako 32-bitowa liczba całkowita ze znakiem.

Implementuje

Wyjątki

Określona obsada jest nieprawidłowa.

Uwagi

Wywołaj metodę IsDBNull , aby sprawdzić wartości null przed wywołaniem tej metody.

Dotyczy