IDataRecord.GetInt16(Int32) Método

Definición

Obtiene el valor del entero con signo de 16 bits del campo especificado.Gets the 16-bit signed integer value of the specified field.

public:
 short GetInt16(int i);
public short GetInt16 (int i);
abstract member GetInt16 : int -> int16
Public Function GetInt16 (i As Integer) As Short

Parámetros

i
Int32

Índice del campo para buscar.The index of the field to find.

Devoluciones

Valor entero de 16 bits con signo del campo especificado.The 16-bit signed integer value of the specified field.

Excepciones

El índice pasado se encontraba fuera del intervalo de 0 a FieldCount.The index passed was outside the range of 0 through FieldCount.

Se aplica a