IDataRecord.GetInt32(Int32) Method

Definition

Gets the 32-bit signed integer value of the specified field.

public:
 int GetInt32(int i);
public int GetInt32 (int i);
abstract member GetInt32 : int -> int
Public Function GetInt32 (i As Integer) As Integer

Parameters

i
Int32

The index of the field to find.

Returns

The 32-bit signed integer value of the specified field.

Exceptions

The index passed was outside the range of 0 through FieldCount.

Applies to