OracleDataReader.GetInt16(Int32) Metoda

Definicja

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

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

Parametry

i
Int32

Liczba porządkowa kolumn opartych na zerach.

Zwraca

Wartość określonej kolumny jako 16-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